This Python script uses OpenCV to create a basic security camera system that can detect unusual activity, record video footage, and maintain a security log.
Features:
- Motion Detection: Detects motion based on changes between consecutive video frames.
- Video Recording: Records video clips when motion is detected (for 5sec).
- Sound Alerts: Plays a sound alert when motion is detected.
- Security Log: Maintains a log file with timestamps of unusual activities and video file locations.