Cooper is a vigilant watchdog equipped with CCTV and OpenAI GPT/Amazon Rekognition capabilities, dedicated to monitoring any suspicious activities in and around your house.
- Analyzes events captured in videos.
- Alerts you in case of any suspicious activities detected.
- A CCTV system supporting RTSP. You need to set up the hardware and ensure it's accessible, either via the Internet or locally.
- A Python environment
- A OpenAI API Key or AWS access credential
To run Cooper the WatchDog, follow these steps:
- Install dependencies:
pip install -r requirements.txt- Read the video stream and capture events
./Monitor.py- Analyze events
./Analyze.py- While the analysis by GPT-4 Vision is impressive, it lacks consistency. The same photo may yield vastly different results.
- Event capturing is processed locally, which is CPU-intensive and prone to failure.
- Implement alerts via WhatsApp or other messaging channels.
- Refine the prompts to ensure stable and predictable analysis.
- Improve the algorithm for local event capturing.
- Make both Analyze and Monitor daemon process.
For more information, please feel free to reach out to me at @lipingtababa