Pipeline for detecting vehicles and pedestrians and extract features.
pip install -r requirements.txt
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)
while o4.next(): ` value = counter_persons.get_value()` ` print(value)`
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.