fnoop / flirone-v4l2

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

Running this code on gen 3 hardware. #9

Open bberkeyU opened 5 years ago

bberkeyU commented 5 years ago

What needs to change to support the Flir one gen 3 (lepton 2) chip. This code will run on the f1g3 but the image as a funky aspect ratio and about 3/4 of the image is noise since the chip is 1/4 the size of the f1g2.

I had hoped I could just change #define FRAME HEIGHT/FRAME WIDTHS; but it just gives me a smaller junk image.

So it looks like a bunch of changes need to be made down in vframe() This is where I get a bit lost; as I dont under stand what the 33, 164 and 4 magic values do in the section that makes the short array from the thermal frame.
// Make a unsigned short array from what comes from the thermal frame // find the max, min and RMS (not used yet) values of the array Does everything just need to be divided by 2? 4?

Thanks.

careyer commented 5 years ago

Did you have any success with this @bberkeyU ?

LNTKira commented 5 years ago

Up ! Did you find a solution @bberkeyU @careyer ?

careyer commented 5 years ago

I heard from someone else that the driver also works with the gen3 pro model but the Picture gets black during each calibration cycle.

Von meinem iPhone gesendet

Am 07.02.2019 um 11:58 schrieb LNTKira notifications@github.com:

Up ! Did you find a solution @bberkeyU @careyer ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

bberkeyU commented 5 years ago

This was kind of a side project for me and other work caught up with me so I have made no progress on this.