Pipeline for detecting vehicles and pedestrians and extract features.
Project description
## Install
pip install -r requirements.txt
## Run
from o4 import O4
weights = “tests/wheights/yolov3.weights” names = “tests/wheights/coco.names” anchors = “tests/wheights/yolov3.cfg”
INPUT_DIR = “o4/data/input/braga.mp4” OUTPUT_DIR = “o4/data/output/output.avi”
o4 = O4(weights, names, anchors)
o4.video(INPUT_DIR, OUTPUT_DIR)
o4.add_feature(DetectionBoxes()) o4.add_feature(Counter(object_types=[“person”])
while o4.next(): ` value = counter_persons.get_value()` ` print(value)`
o4.close()
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file o4-0.5.2.tar.gz.
File metadata
- Download URL: o4-0.5.2.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aea073a9480237307c99164aa5add0542a5212db672a34d50ca4bb17d15fbad4
|
|
| MD5 |
3edf2727f0ad6ad524363c2130b005fd
|
|
| BLAKE2b-256 |
b7f514043547bc1f65cb88a67faf5728bb5251eff53f83b4f8bc297fa6051c5b
|
File details
Details for the file o4-0.5.2-py3-none-any.whl.
File metadata
- Download URL: o4-0.5.2-py3-none-any.whl
- Upload date:
- Size: 136.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bca6cf2e357e17d3edf377aa59092d61c0620a235234f3b5f6893ccec7ac885
|
|
| MD5 |
f5658dfb67775fbd984cbc44bdb8b8e3
|
|
| BLAKE2b-256 |
1785330d73f7ca4c3571a8d5d13a6db303dccb77423904b39074807fe3ea72eb
|