LJMUAstroecology / flirpy

Python library to interact with FLIR camera cores
Other
191 stars 54 forks source link

Add generic threaded camera interface #22

Closed jveitchmichaelis closed 4 years ago

jveitchmichaelis commented 4 years ago

This would be convenient for applications where you want to query a camera sporadically, whilst also having the ability to monitor internal parameters like temperature. In this case you really want the camera to be constantly serviced (i.e. images retrieved) in a separate thread which ensures that you're always grabbing the latest frame.

It's also useful for cameras like TeAx's thermalgrabber which is basically a streaming system and really ought to be processed continuously in a separate thread.

jveitchmichaelis commented 4 years ago

https://github.com/LJMUAstroecology/flirpy/commit/8af35137b3a3c3b872af6c3d783e19050b883cd5