Skip to main content

## 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()

Release files for o4 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for o4 0.5.1
File Size Uploaded
o4-0.5.1.tar.gz 43.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for o4 0.5.1
File Interpreter ABI Platform
o4-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 179.8 kB

Release files / o4-0.5.1.tar.gz

Download URL o4-0.5.1.tar.gz
Size 43.7 kB
Tags Source
SHA-256 checksum
How to use checksums
87ace212cbb1580f09b99d9f7f447c3dbf93bb46b82012670b2d27d73c25045a
BLAKE2b-256 checksum
How to use checksums
04efc8fc3e6ac04c2813e641e19f05c16a3e3e45d8b19bc0add2fa787bb0f64a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / o4-0.5.1-py3-none-any.whl

Download URL o4-0.5.1-py3-none-any.whl
Size 136.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc1e6e34b76df9d132e86075812f8a7ecebf658dac9b748f424afacbb8d01108
BLAKE2b-256 checksum
How to use checksums
06777813d24d2cca4191f808fc6337bf796190f5e7e2c89e45ee46c72861ddc3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

0.5.2

2 release files

This release

0.5.1 This release

2 release files

0.5

2 release files

0.4

1 release file

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page