Skip to content

Our program that allows you to select which object detection model to use to detect objects.

License

Notifications You must be signed in to change notification settings

jinshengye-git/general-object-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General Object Detector

Our program that allows you to select which object detection model to use to detect objects.

We currently support the models:

The SSD model is taken from here.

Dependencies and setup

  • Python >= 3.79
  • OpenCV2
  • PyTorch >= 1.6.0
  • Torchvision >= 0.7.0

To use the video function place .mp4 videos into the folder media/DrivingClips.

Usage

To use the detector with for example SSD Mobilenet on file video.mp4, type:

run.py -ssdm video

To use it with the webcam just ommit the filename:

run.py -ssdm

Running the command

run.py

without any arguments just opens the webcam and displays its output.

To write information about the model like the minimum detection confidence or inference time to a file, use the optional argument -l. Example:

run.py -ssdm video -l

About

Our program that allows you to select which object detection model to use to detect objects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • Other 1.9%