This code, if ran, identifies the differnces between current and before frames in a binary color scheme, and shows that*
- numpy
pip install numpy
- opencv
pip install opencv-python
- opencv-contrib
pip install opencv-contrib-python
Or just type in this for installing all of them together
pip install -r requirements.txt
-
clone this repository by
git :
git clone https://github.com/Midhlaj2006/motion-detector.git
gh :
gh repo clone Midhlaj2006/motion-detector
-
change directory to
motion-detector
(which will newly appear on the location your terminal was running before), so you simply typecd motion-detector
-
then accomplish the requirements and then execute the python file by
python detector.py