Skip to content

vdusek/people-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

People Detector

  • Brno University of Technology
  • Faculty of Information Technology
  • Academic year: 2018/2019
  • Bachelor thesis: Monitoring Pedestrian by Drone
  • Author: Vladimir Dusek

Thesis abstract

This thesis is focused on monitoring people in video footage captured by a drone. People are detected by a trained model of the RetinaNet detector. A feature vector is extracted for each detected person using color histograms. The identification of people is realized by comparing their feature vectors concerning their distance in the frame. In the end, the trajectories of all people are visualized in a panorama image. The accuracy of the trained RetinaNet detector on hard validation data is 58.6%. The error rate is partially reduced by way of algorithm design for trajectory visualization. It is not necessary to successfully detect a person on every frame for correct visualization of its trajectories. At the same time, static objects which are detected as a person but are not moving are not considered as people and are not visualized at all. There is a lot of algorithms dealing with people detection, yet only a few of them are focused on detection people from aerial footage.

Reference

Assignment
— Description of the thesis assignment in Czech.

Text
— The text of the thesis in Czech.

Presentation
— The thesis defense presentation in Czech.

Application
— Application People Detector.

Examples
— Video and images for the experiments with the application.

Application

GUI

People Detector GUI

You can manage the application using the GUI. Just select the input image/video, specify output type and run recognition.

How to run it

  1. Clone this repository.
  2. Download my pretrained models from MEGA Drive. You can use your own model as well.
  3. Specify path to the model on this line.
  4. You should have Python3.7+ and its package manager Pip.
  5. Install all Python requirements by following command.
    $ pip install --user -r app/requirements.txt
    
  6. Since PyQt isn't just Python package it has to be installed by your system package manager.
    # RPM
    $ sudo dnf install python3-PyQt4
    
    # Debian
    $ sudo apt install python3-pyqt4
    
  7. Run the People Detector.
    $ cd app/src/
    $ python main.py
    

Precision of the detector

t3-ap

Average precision on validation data according to trained epochs. The best value 58.6% was measured after 40 epoch. Precision is pretty low because some data are really hard. You can check it, some people are difficult to recognize even for men. Moreover, some annotations are not 100% correct. You can experiment with the models. Model after 40 epoch definitely doesn't have to be the best for every capture.

Schema of the whole application

app-schema

Some examples

Detection of people in the images.

t3-t1

t3-v1

Detection and identification of people in the short videos.

res-coupa-panorama

res-death_circle-panorama

res-little-panorama

res-drone-vid1-panorama

res-drone-vid2-panorama

Resources

Technology

Dataset

Articles

Papers

Many other resources I used during working on this project can be found in the 'Literatura' section of the text.

About

Python app for people monitoring from UAV.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published