I have a flir lepton 3.0 on a pure thermal 2 breakout board connected to a raspberry pi 4b via a micro usb cable.
I am trying to use a python program on the raspi to capture raw thermal images from the lepton 3 which i can then process with python and open CV to filter out the pixels in the image which are above a certain temperature.
Problems I am having are:
- lepton 3.0 is non-radiometric and from what I can see, this cannot be used to calculate the actual temperature values of each pixel - although it’s not clear why.
- i’d like to stick with the lepton 3 series due to it’s higher resolution and so would need to go for a lepton 3.5. The questions on this are:
- Do you sell stand alone Lepton 3.5 cameras? - it doesn’t appear so on your site so might have to go via mouser or digikey but with extra lead time from US I suppose.
- Can I get raw thermal images either via the micro usb cable or via the SDA, SCL, RX and TX pins on the pure thermal 2 board pins from a python program on the raspberry pi 4b? Despite a lot of searching, I haven’t been able to get an answer on this online. I’ve also messaged flir support but they haven’t got back to me at all.
- on the 4b it’s not possible to run OpenGL desktop driver with full KMS but I’m not sure if this is required if you’re not using the Get Thermal software app to get the images.
- I did find a python program at this link which might work but it wasn’t clear what the hardware connection is - usb or pin connections. I would say, given that it’s the pure thermal 1 board, then it’s based on pin connections so this still begs the question - how would this program work over usb or via SDA, SCL, RX and TX pins?
purethermal1-uvc-capture/uvc-radiometry.py at master · groupgets/purethermal1-uvc-capture · GitHub
Anyway, I’m a bit lost on all this so any help would be appreciated.