ai-thermometer icon indicating copy to clipboard operation
ai-thermometer copied to clipboard

Wrong viewing mode on the FLIR-Lepton

Open Lord-Lukas-1 opened this issue 4 years ago • 3 comments

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?

Lord-Lukas-1 avatar Dec 29 '20 12:12 Lord-Lukas-1

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

nanogear avatar Jan 05 '21 03:01 nanogear

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.

Lord-Lukas-1 avatar Jan 12 '21 12:01 Lord-Lukas-1

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

tomasz-lewicki avatar Feb 27 '21 09:02 tomasz-lewicki