A ready-to-use server to analyse cctv feeds. Pip install, boot up server, and make requests to analyse videos.
Project description
CCTV analysis.
A cctv analysis server to asynchronously analyse videos for objects such as persons or cars in cctv camera feeds.
Introduction.
KERAS implementation of YOLOv3 (Tensorflow backend) inspired by allanzelener/YAD2K.
Initial setup for model.
- Clone the repository on your computer.
- Download YOLOV3 weights and the yolo.h5 file from this drive link https://drive.google.com/drive/folders/1PHLAmDVdO3DWp0Igf2_T_uBnDsvJZghy?usp=sharing , or use de wget instruction above
- Put the weights files in the weights folder "/cctv_analysis/model/weights", and the file yolo.h5 inside the cfg folder "/cctv_analysis/model/cfg".
- Run the app.
To run the server localy:
At the server folder "cctv_analysis/server/"
python app.py
server runs at http://127.0.0.1:5000/ localy,
use the "seleccionar archivo" button, then select video, once the video is selected click at the "enviar" button, after procesing the output can be found at the files folder (cctv_analysis/server/files" as a json file called data.
PD: the files folder can be modified from the user_cfg.json file at the server folder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cctv_analysis-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f9ca7151d5d0ab5000a613e9403a52961ca657a1657c242458e7bdd972fb65f |
|
MD5 | 8695e09e5bfdae33b397f09dbbc43464 |
|
BLAKE2b-256 | 3d35999811143bf34daa5d2d7f9a537089bec9a9c10477d777acb0188a5f1c1a |