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 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.
Documentation: https://pyflir.readthedocs.io
Installation
pip install pyFlir
Quick start
from pyflir import Camera
with Camera() as cam:
cam.download_xml() # once; saves camera_<serial>.xml
cam.load_xml("camera_xxx.xml")
# Select a temperature range. This also sets the integration time the
# calibration was fit at -- the two belong together, so do not set
# exposure independently.
cam.load_calibration(index=0)
cam.frame_rate = 30.0 # Hz
# Let the camera do the radiometry and stream temperature directly.
cam.ir_format = "TemperatureLinear10mK"
frame = cam.grab() # numpy array (H, W), uint16
celsius = cam.frame_to_celsius(frame) # degrees C
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.
Metadata
Release files for pyFlir 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyflir-0.2.4.tar.gz | 96.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyflir-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 156.2 kB
Release files / pyflir-0.2.4.tar.gz
| Download URL | pyflir-0.2.4.tar.gz |
|---|---|
| Size | 96.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9793531a1e6543ab3385392a83a73bb2481df75f6f8cc02054f0190ca55b9572
|
|
BLAKE2b-256 checksum How to use checksums |
0a29c59ab1a2f9ebb870b63b10f455c19b56f4790decf61962bddbbe82eb5ba1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / pyflir-0.2.4-py3-none-any.whl
| Download URL | pyflir-0.2.4-py3-none-any.whl |
|---|---|
| Size | 59.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4025b108575f16a290f099ef4afaf6e0c7fdb7c954cc53416cf81a94902cdb8
|
|
BLAKE2b-256 checksum How to use checksums |
8fcf0e106ab0462445857ce737d152a8153b6f73bac03b2a0027d57ea35a4990
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|