The Web Camera Human Detection system is a cutting-edge application that leverages artificial intelligence to detect human presence in real-time. Designed with a user-friendly interface, this system is ideal for surveillance, security, and monitoring purposes. It offers powerful features like email notifications, user management, Google Drive integration, and video recording.
- Uses advanced AI models to detect human presence with high accuracy.
- Provides instant notifications when a human is detected.
- Automatically sends email alerts to notify users of human detection.
- Customizable email templates and recipient lists.
- Supports multiple users with role-based access control.
- Allows administrators to add, edit, or remove users.
- Seamlessly connects to Google Drive for cloud storage.
- Automatically uploads recorded videos and snapshots to a designated Drive folder.
- Records video footage when a human is detected.
- Stores videos locally and/or in Google Drive.
- Includes playback and export functionalities.
-
Clone the Repository:
git clone https://github.com/your-repo/webcam-human-detection.git cd webcam-human-detection
-
Install Dependencies:
pip install -r requirements.txt
-
Set Up Google Drive Integration:
- Obtain API credentials from Google Cloud Console.
- Save the credentials file (
credentials.json
) in the project root.
-
Run the Application:
python app.py
Open a new terminal and type this command:
rclone mount gdrive: ~/Desktop/gdrive
NOTE: If you're running other Python code, kindly close it. Open a new terminal and type this command:
sudo python3 /home/pi/Desktop/RPI-2/web-camera-recorder-master/server.py
NOTE: If you're running other Python code, kindly close it. Open a new terminal and type this command:
sudo python3 /home/pi/Desktop/RPI-2/Cam/main.py
- Email Notifications: Configure SMTP settings in the
config.yaml
file. - AI Model: Customize the detection sensitivity in
settings.py
. - User Management: Admins can manage users through the web interface.
- Google Drive: Set the target folder for uploads in the settings.
- Launch the application using the command line.
- Access the web interface via
http://localhost:8000
. - Configure detection and notification settings as required.
- Start monitoring and enjoy the automated features!
- Python 3.8+
- OpenCV
- TensorFlow or PyTorch (for AI model)
- Google API Client Library
- SMTP server for email notifications
- Add support for additional AI models.
- Enhance user interface for better usability.
- Enable integration with other cloud storage providers.
- Introduce mobile app notifications.
We welcome contributions from the community! Please submit pull requests or report issues on our GitHub repository.
This project is licensed under the MIT License.
For any questions or support, please contact us at support@yourcompany.com.