- The idea of the project is to create an economical system that fulfills the need of a smart alarm system.
- The idea is to create a trip alarm system to capture video footage of intrusion once triggered.
- It is attempted that the system will capture and store the video in the system and the recording will persist unless there is no activity found in the camera feed.
- If you don't have python yet, install it from here.
- Clone this repository using the instructions above.
- Now navigate to the /python subdirectory, and install necessary python dependencies using:
pip install -r requirements.txt
- Finally make sure the camera is accessible and run the script using
python main.py
- The circuit is wired, and contains only an UNO, a HC-SR04 and a bluetooth module (HC-05).
- It is planned to make the communication between the arduino and system wireless using bluetooth module. Once we connect to the system, our code in the main.py file runs and UV sensor start detecting the intrusions.
- As soon as any Intrusion is detected, i.e., the camera detects some activity [status changes from Unoccupied to Occupied], the webcam start recording.
- It'll keep recording until and unless the status changes back to Unoccuppied.