Metadata-Version: 2.4
Name: pyFlir
Version: 0.2.0
Summary: Pure-Python driver for FLIR thermal cameras over GigE Vision
Project-URL: Homepage, https://github.com/LolloCappo/pyFlir
Project-URL: Documentation, https://pyflir.readthedocs.io
Project-URL: Repository, https://github.com/LolloCappo/pyFlir
Project-URL: Issues, https://github.com/LolloCappo/pyFlir/issues
Author-email: Lorenzo Capponi <lorenzocapponi@outlook.it>
License-Expression: MIT
License-File: LICENSE
Keywords: MWIR,camera,flir,genicam,gige,infrared,thermal
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Image Processing
Classifier: Topic :: System :: Hardware :: Hardware Drivers
Requires-Python: >=3.10
Requires-Dist: numpy>=1.20
Requires-Dist: psutil>=5.9
Requires-Dist: pygigevision>=0.2.1
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Requires-Dist: sphinx; extra == 'dev'
Requires-Dist: sphinx-book-theme; extra == 'dev'
Requires-Dist: sphinx-copybutton>=0.5.2; extra == 'dev'
Requires-Dist: sphinx-llms-txt; extra == 'dev'
Requires-Dist: sphinx-markdown-builder; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Requires-Dist: wheel; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: sphinx-book-theme; extra == 'docs'
Requires-Dist: sphinx-copybutton>=0.5.2; extra == 'docs'
Requires-Dist: sphinx-llms-txt; extra == 'docs'
Requires-Dist: sphinx-markdown-builder; extra == 'docs'
Description-Content-Type: text/x-rst

pyFlir
======

Pure-Python driver for FLIR® thermal cameras over GigE Vision. No vendor SDK
required: pyFlir speaks the GVCP and GVSP protocols directly over UDP.

It builds on `pyGigEVision <https://github.com/ladisk/pyGigEVision>`_ for the
GigE Vision protocol layer and adds the FLIR-specific calibration, registers,
and GenICam XML support.

Tested on the FLIR A6751sc (MWIR). Other FLIR GigE Vision cameras that expose
a standard GenICam XML should work.

* GitHub: https://github.com/LolloCappo/pyFlir
* Documentation: https://pyflir.readthedocs.io

Installation
------------

.. code-block:: bash

    pip install pyFlir

Quick start
-----------

.. code-block:: python

    from pyflir import Camera

    with Camera() as cam:
        cam.download_xml()              # once; saves camera_<serial>.xml
        cam.load_xml("camera_xxx.xml")
        cam.frame_rate  = 30.0          # Hz
        cam.exposure_ms = 8.0           # ms
        frame = cam.grab()              # numpy array (H, W), uint16

License: MIT.

pyFlir is an independent project, not affiliated with or endorsed by
Teledyne FLIR, LLC. FLIR® is a registered trademark of Teledyne FLIR, LLC.
