Git Product home page Git Product logo

object-detection's Introduction

Object Detection

Object detection on thermal images

Steps to follow:

  • ./build_docker_container.sh (To build an nvidia-docker)
  • ./run_docker_container.sh (To run the built nvidia-docker by name "darknet_thermal" and with mounted dataset.
  • Make sure that your gpu arch is included in Makefile
    • If it's not, then add your gpu arch and run make clean and make commands in darknet directory.
  • ./preprocess_flir_dataset.sh (Make sure that image directories are consistent with yours.)
  • Exit the container by using "Ctrl+P and Q". This leaves the container still running.
  • Start training in detached mode by using the following command:
    • nvidia-docker exec -d darknet_thermal bash -c "cd /home/object-detection/ ; ./preprocess_flir_dataset.sh ; ./start_training.sh"
    • In start_training.sh script gpu id is 3 by default. You might need to adjust this according to yours.

PyCoco Results for IoU=0.50, area=all, maxDets=100

Average Precision (AP) @[ IoU=0.50:0.50 | area= all | maxDets=100 ] = 0.714
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = -1.000
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = -1.000
Average Precision (AP) @[ IoU=0.50:0.50 | area= small | maxDets=100 ] = 0.576
Average Precision (AP) @[ IoU=0.50:0.50 | area=medium | maxDets=100 ] = 0.819
Average Precision (AP) @[ IoU=0.50:0.50 | area= large | maxDets=100 ] = 0.906
Average Recall (AR) @[ IoU=0.50:0.50 | area= all | maxDets= 1 ] = 0.348
Average Recall (AR) @[ IoU=0.50:0.50 | area= all | maxDets= 10 ] = 0.781
Average Recall (AR) @[ IoU=0.50:0.50 | area= all | maxDets=100 ] = 0.787
Average Recall (AR) @[ IoU=0.50:0.50 | area= small | maxDets=100 ] = 0.719
Average Recall (AR) @[ IoU=0.50:0.50 | area=medium | maxDets=100 ] = 0.834
Average Recall (AR) @[ IoU=0.50:0.50 | area= large | maxDets=100 ] = 0.918

Baseline result: mAP IoU(0.5) of 0.587

You can download the dataset from here

You can find the blog post published on Medium.

Pretrained weights: thermal

object-detection's People

Contributors

enesozi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.