Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support flir one gen 3 thermal stream resolution #13

Open
DAMEK86 opened this issue Feb 4, 2021 · 4 comments
Open

support flir one gen 3 thermal stream resolution #13

DAMEK86 opened this issue Feb 4, 2021 · 4 comments

Comments

@DAMEK86
Copy link

DAMEK86 commented Feb 4, 2021

I was able to run the code with a "pixel mixed" stream - so far so good.
after reading the stats of the gen 3, I saw that the gen 3 thermal sensor have only 80x60 pixel resolution (instead of 160x120 like the pro).

when I declare the defines to

#define FRAME_WIDTH2  80
#define FRAME_HEIGHT2 60

I get a good picture but the color calculation and also the font_write(...) didn't match (resolution is 1/4 of the pro).

Since I am a noob of raw video stream manipulation, it would be awesome if you can help to adapt the code to a smaller resolution.
I'm not sure what's better - pixel duplication to get to similar screen size or downsizing the fonts and so on.:thinking:

@DAMEK86
Copy link
Author

DAMEK86 commented Feb 4, 2021

update: the dynamic temp range differs from the pro
gen3: -20 °C bis 120 °C
pro: -20 °C bis 400 °C
which results in a bluish stream

@annius
Copy link

annius commented Mar 11, 2021

Same problem here: I have the gen3 which is 80x60. But surely simply changing the #defines isn't sufficient? I see a bunch of loops with max values of 160 and 120 that presumably need to be changed to 80 x 60.

Do you have a branch where you got this working for the gen3?

@epozzobon
Copy link

epozzobon commented May 29, 2021

I made it work on 80x60 resolution on my fork ( https://github.com/epozzobon/flirone-v4l2 )

@annius
Copy link

annius commented Jul 15, 2021

@epozzobon thanks very much! I tried out your fork and it works very well. I wonder whether you (or anyone else) know whether any sort of calibration is required on the temperature? Pointing at human skin it regularly shows 43C+.

j-1git pushed a commit to j-1git/flirone-v4l2 that referenced this issue Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants