fnoop / flirone-v4l2

v4l2 based solution to running Flir One from Linux
GNU General Public License v2.0
89 stars 26 forks source link

RGB image streaming and Temperature calibration on OpenCV #16

Open SantiDiazC opened 1 year ago

SantiDiazC commented 1 year ago

Thanks for the great work. I just started using your work and It works perfectly fine! However, I have some questions:

  1. How one can get the RGB streaming correctly? after compiling and running the v4l2loopback: sudo modprobe v4l2loopback devices=3 and running the application to get data from the sensor: ./flirone palettes/Iron2.raw I am using OpenCV to access the data from the sensor like this: vid = cv2.VideoCapture(3) and it works fine for the Thermal image, however, when using the RGB camera index (2 in this case) the image shown is dark (full black image).

  2. My other question is if is it possible to change the color mapping similar to the android FLIR ONE app, to set the maximum by default let's say 200°C?

Thanks!