Comparison of K-Nearest-Neighbor and Neural Networks for Human Detection with Thermal Imaging
ISEF · 2020 Robotics and Intelligent Machines
Overview
The purpose of this project is to compare a K-Nearest-Neighbor (KNN) algorithm with an Artificial-Neural-Network (ANN) in terms of their accuracy when detecting humans by use of thermal imaging. A small autonomous rover controlled by a Jetson Nano was built to evaluate the capabilities of the developed algorithms to locate humans in a simulated natural disaster scenario. The thermal imaging portion of the robot consists of an MLX90640 sensor and a Teensy 4.0. The Teensy controls and monitors the thermal imaging sensor, converts the data to a single string, and sends the data to the Jetson Nano. The Jetson Nano then reformats the string appropriately for input to the KNN and ANN algorithms. The algorithms report if there is a human somewhere in front of the robot. The robot also had a video camera that is used to detect edges/obstacles for the robot to avoid. An algorithm was developed that obtains a burst of frames from the video camera, and for each frame takes a Canny mask, finds the Hough lines, and appends them to a blank frame. The algorithm then combines the short lines from the blank frame into long lines to identify obstacles. Testing the algorithms with model data shows that the KNN is better than the ANN by only a slim margin. However, when using a live thermal camera reading it can be seen that the KNN is significantly more consistent than the ANN, which often detected a human when there were no humans.
Competition history
- ISEF 2020
Resources
Related projects
ISEF · 2018
Concealed Weapon Detection Using Infrared Image Processing and Machine Learning
ISEF · 2019
Applying Thermopile Array Sensors and Machine Learning to Detect Falls of Older Adults
ISEF · 2018
Deep Learning Real-Time Object Detection Through Convolutional Neural Networks Using OpenCV and Optical Flow Algorithms for the Visually-Impaired
ISEF · 2021
Readily Implementable Fall Detection System for the Elderly using Thermal Image Segmentation and Convolutional Neural Networks
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair