Importing Lepton Thermal Module video feed into OpenCV on Raspberry pi

1,097 views
Skip to first unread message

Trí Dân Nguyễn

unread,
Dec 2, 2016, 8:45:28 AM12/2/16
to Flir Lepton

I'd like to import the video feed that I can capture from a thermal imagery camera I got off sparkfun for a college project of mine. But, I can't seem to get the ./raspberrypi_video into the Video capture part of my openCV project.

The sparkfun page indicated it's possible, but doesn't give any direction on how to do it. Has anyone done this before? Do you know of any relevant links on how to do it?

Marty Sullivan

unread,
Dec 3, 2016, 8:43:14 AM12/3/16
to Flir Lepton
Check out the v4l2lepton program in the GitHub repo for the breakout board under software. This will let you stream the lepton frames to a /dev/video device that opencv can consume.

If you have questions about it, please open an issue on GitHub because I don't check here too often.

Hamlet Tu

unread,
Dec 7, 2016, 6:09:37 AM12/7/16
to Flir Lepton
Hi,
There are pi example on GitHub, and you can use Qt to run it.
Just convert Qt image to OpenCV mat.

 

Cullen McGough

unread,
Dec 8, 2016, 1:05:02 AM12/8/16
to Flir Lepton
On Friday, December 2, 2016 at 8:45:28 AM UTC-5, Trí Dân Nguyễn wrote:

I'd like to import the video feed that I can capture from a thermal imagery camera I got off sparkfun for a college project of mine. But, I can't seem to get the ./raspberrypi_video into the Video capture part of my openCV project.

The sparkfun page indicated it's possible, but doesn't give any direction on how to do it. Has anyone done this before? Do you know of any relevant links on how to do it?


Are you working in C++ or python? 

Hamlet Tu

unread,
Dec 8, 2016, 1:11:41 AM12/8/16
to Flir Lepton
I use Qt, C++

Shazwan Ramdan

unread,
Feb 9, 2017, 11:04:22 AM2/9/17
to Flir Lepton
can u help me how to make face detection in Qt C++ using thermal videocapture?

Hamlet Tu

unread,
Feb 12, 2017, 10:53:18 PM2/12/17
to Flir Lepton
face detecton in Qt/OpenCV is base on normal camera, ie logitech webcam.
Thermal image for face detetion is not fit on OpenCv.
You should train haar classifiers by yourself.

Shazwan Ramdan於 2017年2月10日星期五 UTC+8上午12時04分22秒寫道:

Shazwan Ramdan

unread,
Feb 14, 2017, 3:33:11 AM2/14/17
to Flir Lepton
Thank you for told me that thermal image is not fit for opencv face detection. If possible can i merge opencv face detect into my thermal image windows?
Reply all
Reply to author
Forward
0 new messages