Skip to content

luigidarco96/OpticalPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpticalPy

OpticalPy is a dataset generator which use:

  • background subtraction
  • yolo object detection
  • farneback's optical flow

For detect only movement object in a scene and extract only optical flow matrix (as numpy) and detect class with yolo.

How to use it

Launch download_models.sh to create dataset folder and dowload yolo model type python main.py to start the program

Option

You can parse some argument for change the behaviour of application.

  • -v select an input video
  • -s select a path to save the output
  • -sh True show the result in realt time
  • -y change yolo path folder

Dependecy

  • opencv-python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published