Skip to content

Seh83/Computer_Vision_Motion_Detection_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Computer_Vision_Motion_Detection

----- TO DETECT MOTION IN A VIDEO, WE WILL USE THE DIFFERENCE OF TWO VIDEO FRAMES -----

  1. The video is segmented into frames, (conider each frame as an image)
  2. Consider 2 images / frames (A & B) that were taken back-to-back.
  3. Convert the image A & B into gray scale.
  4. Compute a difference between these two gray scale images, and assign it to image C.
  5. If, significant differece is detected between these two frames, we can conclude that some motion has occoured.
  6. An loop function will thus produce an new C image every time there is a frame change in the video.

----- TO RUN THE PROJECT -----

  1. Using a terminal: python detect_difference_in_frames.py
  2. Using pycharm : Right click, and select Run detect_difference_in_frames.py

About

Prototype application for motion detection for a Startup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages