This repo contains applications that demonstrate how to use FLiR Lepton thermal camera. The FLiR sensor uses microbolometer array that changes resistance as its heated up. By measuring resistance the sensor can determine the temperature of detected objects. The sensor's firmware creates a colored image that encodes that resistance data into heat map. The image can be processed using the same techniques as visible light.
To use the applications in this repo you will need a FLir Lepton camera module, information on where to purchase one can be found here
To get USB connectivity you will need a PureThermal board, information on where to purchase one can be found here
Applications for thermal cameras:
- Night Vision - Detect objects in thermal spectrum at night
- Medical diagnosis - Temperature taking
- Building inspection - Detect insulation leaks
- Automotive - Monitor cooling performance
- Tracking - Infrared radiation based centroid tracking
Folder | Description |
---|---|
verify-thermal-camera | Application checks that FLiR Lepton and TrueThermal board are working on the alwaysAI platform |
hsv | Application visualizes HSV Value Channel in thermal spectrum |
thermal-edges | Application use Canny edge detector to find edges of objects detected by thermal camera |
thermal-stream-save | Application saves a thermal video stream from a FLiR Lepton camera mounted on TrueThermal board |
thermal-detector | Application detects objects in the thermal spectrum and bounds the edges of the detected objects |
FLiR Lepton Camera needs to be connected to PureThermal board that provides USB connectivity to use the applications in this repo.
Once the alwaysAI tools are installed on your development machine (or edge device if developing directly on it) you can install and run the app with the following CLI commands:
To perform initial configuration of the app:
aai app configure
To prepare the runtime environment and install app dependencies:
aai app install
To start the app:
aai app start