groupgets / LeptonModule

Code for getting started with the FLIR Lepton breakout board
https://groupgets.com/manufacturers/flir/products/flir-lepton
BSD 2-Clause "Simplified" License
317 stars 197 forks source link

Very low quality and intermittent images #64

Closed xzheng77 closed 4 years ago

xzheng77 commented 5 years ago

After downloading and compiling all the code for Lepton 3.5 thermal camera, I ran raspberrypi_video, it was able to output the video, but the resolution of video was very bad, and intermittent. Any idea what cause the problem? And how to fix it. PS: I am new to raspberry pi.

pasmitchell21 commented 5 years ago

After downloading and compiling all the code for Lepton 3.5 thermal camera, I ran raspberrypi_video, it was able to output the video, but the resolution of video was very bad, and intermittent. Any idea what cause the problem? And how to fix it. PS: I am new to raspberry pi.

Did you figure this out?

veskoch commented 4 years ago

Same issue. The image appears "interlaced". 2019-09-10-143304_2560x1440_scrot

This is on Raspbian Buster on RPi 4, with Flit Lepton 3.5, using the standard breakout board by GetLab.

I see that in main.cpp the resolution is set to 320x240, while the Lepton is 160x120 px. Can the issue be linked to that?

https://github.com/groupgets/LeptonModule/blob/1bc9aa08622e9b686c2ec90b95fa3dedd09d9166/software/raspberrypi_video/main.cpp#L26

There appears to be a second issue which has to do with the "refresh" rate. Most strangely, "video" updates only when I move the mouse around the screen.

kekiefer commented 4 years ago

This code is not compatible with the Lepton 3. That is why the image looks like this, it's actually 80x60 frames.