Tag Archives: infrared

grayscale #pylepton images to fake colors | #infrafred #thermography #imagemagick – #FLIR #Lepton

images come from the Flir Dev Kit bought from Coolcomponents.

First, in order to map the grayscale to colors, we need to generate a gradient.
This is how I did it, using ImageMagick.

convert xc:black xc:red xc:yellow xc:green1 xc:cyan xc:blue xc:white +append -filter Cubic -rotate 90 -resize 20x80\! gradient_IR_rainbow.jpg

this new gradient works like a charm

convert xc:white xc:yellow xc:red xc:green xc:cyan xc:blue xc:violet xc:black +append -filter Cubic -rotate 90 -resize 20x80\! gradient_IR_4-rainbow.jpg

Once you have the canvas gradient, you can use apply it to each image.

convert -verbose bike.png \( gradient_IR_rainbow.jpg -flip \) -clut -resize 500% fc_bike.png

Here are some of the images:

bikes1   fc_bikes1



bikes2  fc_bikes2



laptop-back1  fc_laptop-back1



laptop-front1  fc_laptop-front1



neighbor-house  fc_neighbor-house




MLX90614 #infrared thermometer & #arduino

top posted update:
code to use a TFT screen with arduino (will do a separated post one day soon

github stuff

  • unbox
  • wire
  • follow adafruit’s tutorial
  • enjoy!

To log data you can use picocom

picocom -b 9600 /dev/ttyACM0 > serial.txt
(C-a C-x to quit)