groupgets / purethermal1-uvc-capture

USB Video Class capture examples for PureThermal 1 / PureThermal 2 FLIR Lepton Dev Kit
125 stars 81 forks source link

No video feed from opencv-capture.py #4

Closed prat96 closed 6 years ago

prat96 commented 6 years ago

Hi all,

I have a Lepton 2.5 with Purethermal1. On executing opencv-capture.py, I dont get any video feed and the application force closes with a segmentation fault error. Please advise!

screenshot from 2018-05-24 11-22-38

kekiefer commented 6 years ago

What firmware version is your purethermal 1 board?

prat96 commented 6 years ago

It is the Y16 firmware.. is this why?

kekiefer commented 6 years ago

Yes, OpenCV's video capture module does not support Y16.

If you want raw frame data, take a look at an an example using libuvc like uvc_radiometry.py

Also, current versions of firmware support both RGB and Y16 modes in the same firmware and stream more smoothly, it is recommended that you update (though not strictly required for the libuvc example I believe).

prat96 commented 6 years ago

My bad, I should've checked! Will try the uvc_radiometry.py example. Am unable to update the firmware on my PT1 as i've misplaced the JTAG adapter.

Anyways, will start afresh on the new pair of PT2's ive ordered! :D

prat96 commented 6 years ago

Hey @kekiefer, will the v4l2 examples work with Y16 firmware?