Skip to content

Algorithm that detects moving objects in video feeds

Notifications You must be signed in to change notification settings

mibrah42/Motion-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motion-Detection

Algorithm that detects moving objects in video feeds.

Dependencies

  • Numpy
  • OpenCV
  • Imutils
  • Steps to install

    1. Clone repository on your local machine

    2. Install the necessary dependencies

    pip3 install -r requirements.txt
    

    3. Run using the command

    python3 motion_detection.py
    

    Note: You can change the video displayed by adding your desired video to the same folder and changing the file name on line 6 as shown below.

    capture = cv2.VideoCapture('YOUR__FILE_NAME')
    

    Sample outputs:

    https://gyazo.com/efa1b79a0086158c03884bb4029df9b0

    https://gyazo.com/efa1b79a0086158c03884bb4029df9b0

    https://gyazo.com/f416270823f87f6d0f47d003e24b298e

    About

    Algorithm that detects moving objects in video feeds

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages