Skip to main content

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

o4-0.5.1.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

o4-0.5.1-py3-none-any.whl (136.1 kB view details)

Uploaded Python 3

File details

Details for the file o4-0.5.1.tar.gz.

File metadata

  • Download URL: o4-0.5.1.tar.gz
  • Upload date:
  • Size: 43.7 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

Hashes for o4-0.5.1.tar.gz
Algorithm Hash digest
SHA256 87ace212cbb1580f09b99d9f7f447c3dbf93bb46b82012670b2d27d73c25045a
MD5 92c275908045f9297d43925ff45005f0
BLAKE2b-256 04efc8fc3e6ac04c2813e641e19f05c16a3e3e45d8b19bc0add2fa787bb0f64a

See more details on using hashes here.

File details

Details for the file o4-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: o4-0.5.1-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

Hashes for o4-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc1e6e34b76df9d132e86075812f8a7ecebf658dac9b748f424afacbb8d01108
MD5 c6256f59651b06581ac16c0a93434e75
BLAKE2b-256 06777813d24d2cca4191f808fc6337bf796190f5e7e2c89e45ee46c72861ddc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page