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
File details
Details for the file cctv-analysis-0.0.2.tar.gz
.
File metadata
- Download URL: cctv-analysis-0.0.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 699e98a9cc0f878afcbef1cffcf757a8829ea5c50ee199dd5966238a891d1357 |
|
MD5 | 8b1be75d2ee129f24178481e504e2776 |
|
BLAKE2b-256 | 0672edf4e2800c6765112567ac5e1c4d57af930b002db385573c735b746c6aa8 |
File details
Details for the file cctv_analysis-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: cctv_analysis-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f9ca7151d5d0ab5000a613e9403a52961ca657a1657c242458e7bdd972fb65f |
|
MD5 | 8695e09e5bfdae33b397f09dbbc43464 |
|
BLAKE2b-256 | 3d35999811143bf34daa5d2d7f9a537089bec9a9c10477d777acb0188a5f1c1a |