Skip to content

Repository of the paper "Infrared Dataset Generation for People Detection Through Superimposition of Different Camera Sensors"

Notifications You must be signed in to change notification settings

AlessandroAvi/Thermocamera_Lepton_Himax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thermocamera_Lepton_Himax

This repository contains the code developed for the project course Embedded Systems - University of Trento

The project is also explained in this paper.

Project's goal

Our project's goal was to :

  • develop and build a thermal scanner prototype based on an STM32 microcontroller. The developed code allows the user to fuse the images coming from two different cameras (visual and thermal), as well as visualizing the end result thanks to the open source library OpenCV.
  • crate an automatic labeler for the Infrared images based on the human detection performed on black and white frames. The detection is performed with YOLO.

Hardware

The hardware components that have been used for this project are :

  • STM32 F401RE
  • Himax HM01B0 visual camera
  • Lepton Flir v2.0 infra-red camera

Code

The code is mainly splitted into 2 folders:

  • Detection_Code
    • Python scripts used for seeing in real time the video stream from the microcontroller and save the frames
    • Python scripts used for performing a real time detection and labeling on the incoming stream
    • Python scripts used for performin an off line detection and labeling based on a video
  • STM_Code
    • STM code developed in the CubeIDE environment for reading the data captured by the two cameras.
    • Further distinction is made for code which is generic-purpose and code which is specific for a single camera

Dataset

This repo also contains the dataset that has been created with the detection and labeling method, both the infrared and black and white images can be found here. Specifically in the folder 2 files can be found:

  • Dataset.zip which contains all the 3655 couples of IR and B&W images
  • Dataset_100_sample.zip which contains only 100 couples of IR and B&W images as a sample

name-of-you-image

name-of-you-image

Results

Video footage of the working prototype can be found at the following link : Experimental video footage

Mockup still images can be found in the folder ./images/ of this repository.

Mentions

The code for the Lepton library has been highly inspired by the work of NachtRaveVL (https://github.com/NachtRaveVL/Lepton-FLiR-Arduino).

About

Repository of the paper "Infrared Dataset Generation for People Detection Through Superimposition of Different Camera Sensors"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published