Welcome to the CCTV YOLO! This project offers realtime object detection through HTTP protocol and cloudflare tunneling:
These predictions are based on yolov3-tiny
trained on comprehensive coco datasets.
To get started with CCTV YOLO, follow these steps:
Before using CCTV YOLO, ensure you have the following in requirements.txt
and Python ≥ 3.9.5
.
To install the CCTV YOLO, follow these steps:
-
Create a Virtual Environment:
- On Windows:
python -m venv .venv
- On Linux:
python3 -m venv .venv
- On Windows:
-
Activate the Virtual Environment:
- On Windows:
.venv\Scripts\activate
- On Linux:
source .venv/bin/activate
- On Windows:
-
Install Dependencies:
pip install -r requirements.txt
-
Copy Environment Variables:
cp .env.example .env
Modify the values in the .env file according to your API configuration!
Or you can just setup all and start the server directly according your operating systems.
- On Windows:
./start-server-windows.bat
- On Linux:
./start-server-linux.sh
It's just optional feature where your CCTV+YOLO is hosted to the internet for free, here is you can setup the tunnel authentication through this DOC. Therefore you can retrieve information about your CF authentication so that you can put it into .env
file.
Note: If you cloned this repo, you don't need download or install
cloudflared
since it's already downloaded in binary preinstalled inbin/
folder.
If you encounter any issues or have questions, reach out to our support team at ikhwanperwira@gmail.com
We welcome contributions! Whether it's bug reports, feature requests, or code contributions.
CCTV YOLO is licensed under the MIT License - see the LICENSE file for details.