A project that detects humans in real-time using a Raspberry Pi camera and YOLOv5 object detection model. The project consists of two parts: camera module and backend server.
These instructions will guide you through the process of setting up and running the project.
- Clone the repository
- Navigate to the camera_module directory and follow the instructions in the README file to run the camera module
- Navigate to the backend directory and follow the instructions in the README file to run the backend server.
The camera module takes photos at a specified interval and sends the images to the backend server. The backend server processes the images using YOLOv5 to detect humans and sends the result back to the client as a base64 encoded HTML file with server-side rendering. The HTML file includes the timestamp and the processed image.
- YOLOv5 object detection model by Ultralytics LLC
- Raspberry Pi Foundation