All Projects → joehoeller → Object Detection On Thermal Images

joehoeller / Object Detection On Thermal Images

Licence: gpl-3.0
Robust Object Classification of Occluded Objects in Forward Looking Infrared (FLIR) Cameras

Projects that are alternatives of or similar to Object Detection On Thermal Images

Tensorflow object detector
Tensorflow Object Detector
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Hands On Algorithmic Problem Solving
A middle-to-high level algorithm book designed with coding interview at heart!
Stars: ✭ 1,227 (+1414.81%)
Mutual labels:  jupyter-notebook
Tutorials2021
Mediterranean Machine Learning school tutorials
Stars: ✭ 81 (+0%)
Mutual labels:  jupyter-notebook
Nd101
记录自己深度学习之路的点滴
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Depthprediction
A tool to predict the depth field of a 2-dimensional image
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Fcn.tensorflow
Tensorflow implementation of Fully Convolutional Networks for Semantic Segmentation (http://fcn.berkeleyvision.org)
Stars: ✭ 1,230 (+1418.52%)
Mutual labels:  jupyter-notebook
Visual tracking api
A simple visual tracking interface using Python
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Fnn
Embed strange attractors using a regularizer for autoencoders
Stars: ✭ 81 (+0%)
Mutual labels:  jupyter-notebook
Machine Learning
Code & Data for Introduction to Machine Learning with Scikit-Learn
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
D3 Js Step By Step
http://zeroviscosity.com/category/d3-js-step-by-step
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Keras Segnet Basic
SegNet-Basic with Keras
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Captcha Decoder
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Mimic Code
MIMIC Code Repository: Code shared by the research community for the MIMIC-III database
Stars: ✭ 1,225 (+1412.35%)
Mutual labels:  jupyter-notebook
Quickstart Python
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Style Semantics
Code for the paper "Controlling Style and Semantics in Weakly-Supervised Image Generation", ECCV 2020
Stars: ✭ 81 (+0%)
Mutual labels:  jupyter-notebook
Alice
NIPS 2017: ALICE: Towards Understanding Adversarial Learning for Joint Distribution Matching
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Attention Transfer
Improving Convolutional Networks via Attention Transfer (ICLR 2017)
Stars: ✭ 1,231 (+1419.75%)
Mutual labels:  jupyter-notebook
Dl in nlp deeppavlov cs224n spring2020
"Deep Learning in Natural Language Processing" - a course by DeepPavlov built on top of Stanford's cs224n
Stars: ✭ 81 (+0%)
Mutual labels:  jupyter-notebook
Wellnessconversation Languagemodel
Korean Language Model을 이용한 심리상담 대화 언어 모델.
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook
Talks odt
Slides and materials for most of my talks by year
Stars: ✭ 80 (-1.23%)
Mutual labels:  jupyter-notebook

Object Detection on Thermal Images

Robust Object Classification of Occluded Objects in Forward Looking Infrared (FLIR) Cameras using Ultralytics YOLOv3 and Dark Chocolate. Medium Article that compliments code repo: Article on Medium

Production Grade Results

  1. mAP: 0.961
  2. Recall: 0.922
  3. F1: 0.857

Downloads needed to run codebase

  1. Download pre-trained weights here: link

  2. FLIR Thermal Images Dataset: Download

  3. Go into /data folder and unzip labels.zip

  4. Addt'l instructions on how to run Ultralytics Yolov3

Instructions

  • Must have NVIDIA GPUs with Turing Architecture, Ubuntu and CUDA X installed if you want to reproduce results.

  • Add the data provided by FLIR to a folder path called /coco/FLIR_Dataset.

  • Place the custom pre-trained weights you downloaded from above into: /weights/*.pt

  • Converted labels from Dark Chocolate are located in data/labels, which you unzipped above.

  • The custom *.cfg with modified hyperparams is located in /cfg/yolov3-spp-r.cfg.

  • Class names and custom data is in /data/custom.names and custom.data.

Install & Run Code:

After download is complete run pip install requirements, or click into the requriements.txt file for the Anaconda commands. Install COCO: bash yolov3/data/get_coco_dataset.sh, then add FLIR images to: /coco/images/FLIR_Dataset. Select any random grouping of non-annotated images, (ctrl-click any random sample of 5 to 10, or 20 if you like), copy them, and them paste them into data/samples folder.

  • Go back to the root of the project where the requirements.txt file is and open a command prompt, run the following:

$ python3 detect.py --data data/custom.data --cfg cfg/yolov3-spp-r.cfg --weights weights/custom.pt

Modified config in yolov3-spp-r.cfg file; Leverages Spatial Pyramid Pooling with Ultralytics YOLOv3 for better feature extraction and higher precision on thermal images.

See Convolutional Neural Network Architecture below:

  • At the root of the project, you will then see a folder named output get generated with annotated images and bounding boxes around the objects within the images you chose for the data/samples folder.

  • To get metrics, go back into command line at root of project and run:

    $ python (python cmd prompt)

    $ from utils import utils

    $ utils.plot_results()

You will then see an image of charts get generated at root of project called results.png

  • To get class-wise scores run ( * Note that -r /yolov3-spp-r.cfg is the altered CNN architecture):

$ python3 test.py --cfg cfg/yolov3-spp-r.cfg --weights weights/custom.pt --data data/custom.data

Need consulting to better understand computer vision implmentation for better business outcomes?

If Artifical Intelligence Applications are important to you or your business, please get in touch or email [email protected].

Consulting ideas on which this production-grade project could be forked to for real-word use cases:

  • Search and Rescue for Public Safety: Object Classification in Thermal Images using Convolutional Neural Networks for Search and Rescue Missions (SAR) with Unmanned Aerial Systems (UAS).

  • Defense and Aerospace: Detecting IEDs (Improvised Explosive Devices): in live combat war zones. Self-Driving Cars: Autonomous vehicles, personal or commercial.

  • Industrial Applications: Electrical grid monitoring, wind power, and oil refinery monitoring.

  • Improved Breast Cancer Screening & Detection: Automated analysis of tumor segmentation in thermal images using artificial intelligence increases the accuracy of detecting breast cancer, and enables use in breast cancer screening programs.

  • Segmentation of Industrial Material types for automated assembly lines: Deep Thermal Imaging for material type recognition of Spatial Surface Temperature Patterns (SSTP).

  • Sense and Detect Active School Shooters: Ensemble with Doppler signal processing methods for Concealed Weapon Detection in a Human Body by Infrared Imaging.

  • NASA/ESA Land Rovers (e.g.; Mars Exploration Rovers (MER) Spirit and Opportunity): Fork GitHub repo and customize to measure heat signatures from various extraterrestrial objects. This will allow one to determine what materials/composites are in these objects. Also allows (martian) rover to further explore extra-terrestrial planets while identifying objects we cannot see in normal spectrum.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].