Skip to content

Demo script to show Line Crossing Objects can be detected with masking.

License

Notifications You must be signed in to change notification settings

Zeromika/opencv-linecrossing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detect objects trying to cross a line

This python script creates multiple circles to demonstrate that line crossing can be done by masking.

Script creates one mask for the line and then creates multiple masks for each circles. In this case circles are made up to represent object center points. These points can be used to create circles just like the script does and with a given line and given consideration to the limitation occuring because of the speed of these objects.

To run the given script installing these requirements are sufficient

opencv
numpy
math
imutils

About

Demo script to show Line Crossing Objects can be detected with masking.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages