All Projects → IIT-PAVIS → Ai Thermometer

IIT-PAVIS / Ai Thermometer

Licence: other
Code for automatically measuring the temperature of people using a thermal camera.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ai Thermometer

Botacspro Bot Auto checkout Flashsale Shopee Promo
Bot Auto Checkout Flashsale Shopee Promo (Botacs Pro)
Stars: ✭ 107 (-7.76%)
Mutual labels:  ai
Xiaoai
a tiny&smart AI & Repo for work for AI Survey百度云资源持续更新中,欢迎点赞star Min's blog 欢迎访问我的博客主页!(Welcome to my blog website !)https://liweimin1996.github.io/
Stars: ✭ 111 (-4.31%)
Mutual labels:  ai
Ai Chatbot Framework
A python chatbot framework with Natural Language Understanding and Artificial Intelligence.
Stars: ✭ 1,564 (+1248.28%)
Mutual labels:  ai
Social Distancing
Code for estimating social distances from RGB cameras.
Stars: ✭ 107 (-7.76%)
Mutual labels:  ai
Bwapi
Brood War API
Stars: ✭ 1,482 (+1177.59%)
Mutual labels:  ai
Aiyprojects Raspbian
API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit)
Stars: ✭ 1,510 (+1201.72%)
Mutual labels:  ai
Adblockradio
An adblocker for live radio streams and podcasts. Machine learning meets Shazam.
Stars: ✭ 1,407 (+1112.93%)
Mutual labels:  ai
Deep Neuroevolution
Deep Neuroevolution
Stars: ✭ 1,526 (+1215.52%)
Mutual labels:  ai
Botonomous
A PHP Framework For Creating Autonomous Slack Bots
Stars: ✭ 109 (-6.03%)
Mutual labels:  ai
Xlearning Xdml
extremely distributed machine learning
Stars: ✭ 113 (-2.59%)
Mutual labels:  ai
Cartpole
OpenAI's cartpole env solver.
Stars: ✭ 107 (-7.76%)
Mutual labels:  ai
Tableqa
AI Tool for querying natural language on tabular data.
Stars: ✭ 109 (-6.03%)
Mutual labels:  ai
Owl Bt
owl-bt is editor for Behavior trees. It has been inspired by Unreal engine behavior trees in a way, that it supports special node items like decorators and services. This makes trees smaller and much more readable.
Stars: ✭ 112 (-3.45%)
Mutual labels:  ai
Server Tech Tree
服务端软件技术树:服务端主流技术九大分类和全景图
Stars: ✭ 106 (-8.62%)
Mutual labels:  ai
Mac Graph
The MacGraph network. An attempt to get MACnets running on graph knowledge
Stars: ✭ 113 (-2.59%)
Mutual labels:  ai
Awesome Dronecraft
Resources to fully understand how autonomous drones work.
Stars: ✭ 104 (-10.34%)
Mutual labels:  ai
Microsoft ai
人工智能实战微信小程序demo
Stars: ✭ 111 (-4.31%)
Mutual labels:  ai
Nlp
兜哥出品 <一本开源的NLP入门书籍>
Stars: ✭ 1,677 (+1345.69%)
Mutual labels:  ai
Pkulaw spider
爬取北大法宝网http://www.pkulaw.cn/Case/
Stars: ✭ 113 (-2.59%)
Mutual labels:  ai
Otto
Otto sample project for the AI Planner
Stars: ✭ 113 (-2.59%)
Mutual labels:  ai

🌡 AiThermometer 🌡

Code for automatically measuring the temperature of people using a thermal camera. The software can be freely used for any non-commercial applications and it is useful for the automatic early-screening of fever symptoms. The code is open and can be improved with your support, please contact us at [email protected] if you want to help us.

sample

What's New

[April 24th, 2020]

[April 7th, 2020]

  • New code for acquiring and processing data streams from FLIR® cameras in the folder FLIR_cameras.

Description

The software first detect people with an off-the-shelf body pose detector and then extract location of the face where the temperature is measured. The software requires a known reference temperature and the value and position are provided by the user (this information is shown as a single small green circle on the image). It is possible to have the absolute temperature but you need an image from a thermal camera with correct radiometric calibration and radiometric exif data loaded into image.

Installation steps

Code is developed in Python3 and tested on Ubuntu 18.04 with NVidia driver, Cuda 10.0 and Cudnn 7.6.5.

AiThermometer can be run in a Docker container, as described in this section.

  • [x] Install the requirements
    To run this code without Docker support, you need to install:

    • OpenPose:
      Please follow the instruction in the repository gitHub and install OpenPose in ai_thermometer/openpose/ folder.
      In case you prefer to use a different OpenPose installation folder, you can pass it using the --openpose_folder argument.

    • Flir Image Extractor:
      pip3 install flirimageextractor

    • OpenCV:
      apt-get install python3-opencv
      pip3 install opencv-python

  • [x] Install the Docker
    You can install Docker following docker_howto.txt file instructions.
    After Docker installation, you can either build the available Dockerfile or download from https://hub.docker.com/repository/docker/pmorerio/aithermometer the already built image using:
    docker pull pmorerio/aithermometer:release1

Usage

With radiometric images

Usage Example in case the available images are radiometric:

./ai_thermometer.py --image_in ./samples/IR_2412.jpg --image_out ./results/IR_2412_out.jpg --radiometric True

Without radiometric images

The algorithm has been designed such that it can be used with uncalibrated thermal cameras: a reference pixel with known approximate temperature should be provided by the user.
Usage Example:

./ai_thermometer.py --image_in ./samples/image1.jpeg --image_out ./results/image1_out.jpg --reference_px 200 --reference_py 400 --reference_temperature 31

Dockerfile

Using the included Dockerfile you can automatically build an image with the required packages.

Build the images using

docker build -t ai_thermometer . 

Enter in the image bash using

docker run -it --gpus all -v <local_folder>:/ai_thermometer/results ai_thermometer

Run the sample script using

./test.sh

The resulting images will be stored in <local_folder>.

Dataset

Below are some examples on the FREE FLIR Thermal Dataset.

sample1 sample2 sample3 sample4 sample5 sample6 sample7 sample8 sample9 sample10

Further development

  • [ ] Increase the number of thermal cameras supported
  • [ ] Increase people detection rate of openpose applied on thermal images
  • [ ] Improve robustness of face measurement algorithm
  • [ ] Automatic detection of masks, eyewear, scarf and other face occluding elements

Tested hardware

  • FLIR® A600
  • FLIR® A315

You contribution in broadening the list of tested cameras is very welcome.

Disclaimer

The information and content provided by this application is for information purposes only. You hereby agree that you shall not make any health or medical related decision based in whole or in part on anything contained within the application without consulting your personal doctor.

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors, PAVIS or IIT be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

LICENSE

This project is licensed under the terms of the MIT license.

This project incorporates material from the projects listed below (collectively, "Third Party Code"). This Third Party Code is licensed to you under their original license terms. We reserves all other rights not expressly granted, whether by implication, estoppel or otherwise.

  1. OpenPose
  2. OpenCV
  3. flirimageextractor
iit-pavis-logo
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].