Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

dstaroff/vehicle-examination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle examination detection

This piece of software allows detecting the fact of vehicle examination on video/camera source.

The principle is stupidly easy - to find a vehicle and a person, and to compare the distance between them. If examiner was close enough to the vehicle then examination counts as succeeded.

Normal mode example

Debug mode

You can switch debug mode by pressing Ctrl+D.

In this mode, you can see:

  • The masks of vehicle anmd examiner
  • Their bounding boxes
  • Circles in which they find their position on a previous frame
  • Expanded bounding boxes that are used to decide the fact of examination.

Debug mode example

Usage

  1. Setup required modules from requirements.txt
  2. Download weights file to ./data/ folder
  3. Run main.py

Credits

In this software we use a modified version of Mask-RCNN. We have removed all the parts that needs for model training. Also, the big part of utilitary functions has been removed as it's not needed. Some functions had been moved or refactored to increase development and runtime efficiency.

Warranties

This software is provided as-is and gives no warranties at all.