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.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2bf96f24869ee9690e82859e18da2f5354affc75d88a9d3b66c9c5422af3ace |
|
MD5 | 5919746d2a36c8fe48d46d9fb48b0276 |
|
BLAKE2b-256 | 0ded9d78f90d7b12e236664265c0dccc2e1b09ae7a10c1af64f94b2af528bc8c |