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

Wrong viewing mode on the FLIR-Lepton #21

Open
Lord-Lukas-1 opened this issue Dec 29, 2020 · 3 comments
Open

Wrong viewing mode on the FLIR-Lepton #21

Lord-Lukas-1 opened this issue Dec 29, 2020 · 3 comments

Comments

@Lord-Lukas-1
Copy link

I copied your code and am running it on the developer kit. Unfortunately the FLIR Lepton shows the pictures only in red and grey like in your video with the red channel. How can i change the output of the FLIR Lepton to a range from blue to red like in your example?

@nanogear
Copy link

nanogear commented Jan 5, 2021

add the next code:
ir_arr = cv2.applyColorMap(ir_arr, cv2.COLORMAP_JET) where it is defined def apply_cmap

Just still don´t understand how you change blue color to gray and modify the other ones to look like in the video.... I want to know how...

Here is the ColorMaps types: https://docs.opencv.org/master/d3/d50/group__imgproc__colormap.html

@Lord-Lukas-1
Copy link
Author

Thank you for the answer.

I added the code but unfortunately it didn't work. Do you have any idea what else could be the problem?

I haven't made any changes in the code after copying it from here except adding your line. So I have no idea what is causing the problem.

@tomasz-lewicki
Copy link
Owner

@Lord-Lukas-1 you should give the newest version a try, it includes improved colormaps.

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