DEV Community

Discussion on: Social Distancing Analyzer using OpenCV and YOLO

Collapse
 
sherwyn11 profile image
Sherwyn D'souza • Edited

I've attached a file directory structure image above. So create a constants.py file accordingly and then add this:

YOLOV3_LABELS_PATH = './yolov3/coco.names'
YOLOV3_CFG_PATH = './yolov3/yolov3.cfg'
YOLOV3_WEIGHTS_PATH = './yolov3/yolov3.weights'
VIDEO_PATH = './videos/video.mp4'
OUTPUT_PATH = './output/output.avi'
SAFE_DISTANCE = 60
Enter fullscreen mode Exit fullscreen mode