View Thermal images for analysis in Machine Learning

Simple code to display grayscale thermal images

Surya Gutta
Analytics Vidhya
Aug 1, 2021

--

Photo by USGS on Unsplash

Thermal images are used in different fusion techniques for Object detection in Autonomous Vehicles (AVs). These images are in grayscale. We can use simple code in Python to view these images for analysis. There are some publicly available datasets that have Thermal images for machine learning in AVs.

CV2 has the following Color Maps:

The following sample images can be downloaded from here.

source: Flir Visible image
source: Flir Thermal image
Display of Thermal image using the above python code
source: Kaist Visible image
source: Kaist Thermal image
Display of Thermal image using the above python code

Thank you for reading! Please 👏and follow me if you liked this post, as it encourages me to write more!

--

--

Surya Gutta
Analytics Vidhya

Software Architect | Machine Learning | Statistics | AWS | GCP