Skip to content

saspegas/detection-of-objects-approaching-the-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

detection-of-objects-approaching-the-camera

It detects moving objects approaching the camera. The object is detected in the frame when it occupies a specific area. Then the image at the time it was first detected is displayed.

You must change the values according to the resolution of the video device ( in this code, 850).

  • OpenCV 3.4.1 used.
  • Background Subtractor MOG2 used in OpenCV.

moving-object

Detected moving object but not close. Rectangle is green.

moving-and-close-object

Detected moving object and it's close more than in the first picture. The current frame was recorded and displayed. Rectange is red.

Thanks to Mesut Pişkin - mesutpiskin.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages