Skip to content

DJI thermal image converter to TIFF format for temperature mapping and analysis applications.

License

Notifications You must be signed in to change notification settings

alex-suero/thermal-image-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thermal Image Converter

Author: Alexis Suero (alexis.esmb@gmail.com).

This repository contains a Python script that converts thermal JPEG images captured by DJI drones into TIFF format containing a single layer with temperature values in Celsius. The converted images are saved in the "output_images" folder.

Table of Contents

Requirements

  • DJI Thermal SDK (not included in repository)
  • exiftool (included in the repository)
  • Python 3.11
  • The following Python libraries:
    • rasterio
    • dji_thermal_sdk

Installation

  1. Clone the repository:

    git clone https://github.com/alex-suero/thermal-image-converter.git
    cd thermal-image-converter
  2. Install the required Python libraries:

    • Install dji_thermal_sdk package:
     pip install dji_thermal_sdk
    • Install rasterio package:
     pip install rasterio
  3. Make sure exiftool.exe is in the root directory:

    • You can download exiftool from here.
  4. Download DJI Thermal SDK and place its files in dji_thermal_sdk folder:

    • You can download DJI Thermal SDK from here.

    • dji_thermal_sdk folder should look like:

      dji_thermal_sdk/
      ├── dataset/
      ├── doc/
      ├── sample/
      ├── tsdk-core/
      ├── utility/
      ├── History.txt
      ├── License.txt
      └── Readme.md
      

Usage

  1. Prepare your input images:

    • Place all thermal JPEG images (with _T.JPG suffix) in the input_images folder.
  2. Run the script:

    python dji_thermal_converter.py
  3. Find your converted images:

    • The converted TIFF images will be saved in the output_images folder.

Example

Here's an example of how to use the script:

  1. Place your thermal JPEG images in the input_images folder:

    input_images/
    ├── image1_T.JPG
    ├── image2_T.JPG
    └── image3_T.JPG
    
  2. Run the script:

    python dji_thermal_converter.py
  3. Check the output_images folder for the converted TIFF images:

    output_images/
    ├── image1.tif
    ├── image2.tif
    └── image3.tif
    

License

This project is licensed under the GNU General Public License v3.0.

About

DJI thermal image converter to TIFF format for temperature mapping and analysis applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages