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.2

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.2
File Size Uploaded
o4-0.5.2.tar.gz 43.6 kB Details

Built distribution (wheel)

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

Total release size: 179.7 kB

Release files / o4-0.5.2.tar.gz

Download URL o4-0.5.2.tar.gz
Size 43.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aea073a9480237307c99164aa5add0542a5212db672a34d50ca4bb17d15fbad4
BLAKE2b-256 checksum
How to use checksums
b7f514043547bc1f65cb88a67faf5728bb5251eff53f83b4f8bc297fa6051c5b
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.2-py3-none-any.whl

Download URL o4-0.5.2-py3-none-any.whl
Size 136.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bca6cf2e357e17d3edf377aa59092d61c0620a235234f3b5f6893ccec7ac885
BLAKE2b-256 checksum
How to use checksums
1785330d73f7ca4c3571a8d5d13a6db303dccb77423904b39074807fe3ea72eb
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

This release

0.5.2 This release

2 release files

0.5.1

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