Metadata-Version: 2.4
Name: Potato_pyflycap451
Version: 0.3.2.dev0
Summary: Cython bindings for Point Gray Fly Capture 2 (fork of pyflycap2 by Matthew Einhorn).
Home-page: https://github.com/matham/pyflycap2/
Author: Potato
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Multimedia :: Graphics :: Capture :: Digital Camera
Classifier: Topic :: Multimedia :: Graphics :: Capture
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Developers
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: summary

pyflycap2 has been deprecated in favor of https://github.com/matham/rotpy, which is the better interface for these Point Gray cameras.


-----------

Project that provides python bindings for the FlyCapture2 library
by Point Gray.

For more information: https://matham.github.io/pyflycap2/index.html

To install: https://matham.github.io/pyflycap2/installation.html

.. image:: https://github.com/matham/pyflycap2/workflows/Python%20application/badge.svg
    :target: https://github.com/matham/pyflycap2/actions
    :alt: Github CI status


Examples
=============

Listing GigE cams:

.. code-block:: python

    from pyflycap2.interface import CameraContext
    cc = CameraContext()
    cc.rescan_bus()
    print(cc.get_gige_cams())  # prints list of serial numbers.


Configuring with the GUI:

.. code-block:: python

    from pyflycap2.interface import GUI
    gui = GUI()
    gui.show_selection()


Reading images from a camera:

.. code-block:: python

    from pyflycap2.interface import Camera
    c = Camera(serial=cam_serial)
    c.connect()
    c.start_capture()
    c.read_next_image()
    image = c.get_current_image()  # last image
    c.disconnect()
