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

Metadata

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 Provenance Actions
o4-0.5.1.tar.gz 43.7 kB Without provenance Details for o4-0.5.1.tar.gz

Built distribution (wheel)

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

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

Security for o4 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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