Real-Time CCTV Analysis with Object Detection and Analytics is a powerful software application that enables intelligent analysis of CCTV footage in real-time. The program utilizes computer vision techniques and the OpenCV library to process video frames, detect objects of interest, and provide valuable insights through advanced analytics features.
- Real-time object detection: The program uses state-of-the-art object detection models, including face detection and pedestrian detection, to accurately identify and track objects within the CCTV video feed.
- Multi-threaded processing: It employs multi-threading to ensure smooth and responsive analysis, enabling simultaneous video capture and object detection.
- Flexible and customizable: The program allows for the integration of additional object detection models, such as vehicle detection, for a wider range of applications and requirements.
- Analytics capabilities: Real-time statistics, such as object counts and tracking, provide valuable insights for efficient monitoring, surveillance, and decision-making.
- User-friendly interface: The program provides a user-friendly interface that displays the processed video feed with overlaid bounding boxes around detected objects.
- Python 3.x
- OpenCV library
- Clone the repository:
https://github.com/captain-n3m0/Watchman.git
- Install the required dependencies:
pip install opencv-python
- Download the pre-trained object detection models and place them in the appropriate directory:
- Haar cascade classifier for face detection: Download here
- Other object detection models: (optional)
- Run the main Python script:
python main.py
-
The program will capture video frames from the default camera or a specified video file and perform object detection in real-time. Detected objects will be displayed with bounding boxes on the video feed.
-
Press 'q' to exit the program.
Contributions are welcome! If you have any ideas, suggestions, or bug fixes, please open an issue or submit a pull request.
This project is licensed under the GNU General Public License.
- The OpenCV project for providing the Haar cascade classifiers and other pre-trained models.
- The developers and contributors of the OpenCV library for their invaluable work in computer vision and image processing.
For any questions, comments, or collaborations, please feel free to reach out to us at [email protected].