This project utilizes Python and OpenCV to detect motion in a video stream. The program captures the video feed from the camera and detects motion within the frames. When motion is detected, it draws a rectangle around the moving object.
Installation Run the followiing lines of code in your terminal.
-
Clone the repository: git clone https://github.com/EnGeniuss/motion-detection.git
-
Navigate to the project directory: cd motion-detection
-
Install the required dependencies: pip install opencv-python
Usage To run the motion detection program, execute the following command: python MoDet.py
Technologies Used;
- Python
- OpenCV