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, on top of pyGigEVision.
Quickstart#
from pyflir import Camera
with Camera() as cam:
cam.load_xml("docs/camera_<serial>.xml") # cached after first download_xml()
cam.frame_rate = 30.0
cam.exposure_ms = 8.0
frame = cam.grab() # numpy (H, W) uint16, metadata rows stripped
See Getting started for installation and first contact.
Contents#
- Getting started
- Camera API reference
- Streaming and acquisition
- Troubleshooting
- Camera not found on
discover() - Finding the camera IP on Linux (USB-to-GigE dongle)
- Persistent dongle IP with NetworkManager
ACCESS_DENIEDon reconnect (stale CCP lock)ValueError: invalid literal for int()during XML downloadINVALID_PARAMETERduring XML download- Height reported as 513 instead of 512
- Model shows “Xsc Series” instead of “A6751sc”
- Camera model / serial blank before
load_xml() - Live streaming lag that grows over time
- Camera not found on
- Examples
- Changelog