Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 2.03 KB

README.md

File metadata and controls

71 lines (49 loc) · 2.03 KB

FLIR/DJI IR Camera Data Parser, Python Version

Parser infrared camera data as NumPy data.

image

Usage

  • Clone this respository and cd thermal_parser.
  • Run pip setup.py install in the console.
  • Try the following code:

win x64, x86 & linux x64, x86

import numpy as np
from thermal_parser import Thermal

thermal = Thermal(dtype=np.float32)
temperature = thermal.parse(filepath_image='images/DJI_H20T.jpg')
assert isinstance(temperature, np.ndarray)

Supported IR Camera

FLIR R-JPEG Camera Model

  • FLIR
  • FLIR AX8
  • FLIR B60
  • FLIR E40
  • FLIR T640

DJI R-JPEG Camera Model

  • DJI H20T
  • DJI XT2
  • DJI XTR
  • DJI XTS

DJI R-JPEG Camera Model DTAT3.0

  • DJI M2EA / DJI MAVIC2-ENTERPRISE-ADVANCED / "御"2 行业进阶版
  • DJI H20N
  • DJI M3T / DJI MAVIC3
  • DJI M30T
  • DJI H30T

References

Docker

sudo docker build -t dji-thermal .

mac
sudo docker run --rm -it --name dji-thermal -v $(pwd):/usr/src/app dji-thermal:latest

sudo docker run --rm -it --name dji-thermal -v $(pwd):/usr/src/app dji-thermal:latest python app.py


windows
sudo docker run --rm -it --name dji-thermal -v ${pwd}:/usr/src/app dji-thermal:latest