McMasterAI / TrafficTracker

A street traffic counter that provides efficient and ethical modelling of how people engage and interact within a given public space.
MIT License
7 stars 2 forks source link

Filter Detections Based on Class Input List #50

Closed cczarnuch closed 3 years ago

cczarnuch commented 3 years ago

We need to filter the detections coming from YOLOv5 into Deep SORT by the following classes:

The numbers correspond to the COCO class enumerations as given in https://github.com/McMasterAI/BNA-traffic-mapper/blob/update-readme/yolov5/data/coco.yaml. I'm not sure if this is useful information.

icecap360 commented 3 years ago

When the camera gets a clear view of the bench (no person obstructing the bench) yolov5 starts thinking the bench is a car (yolov5s.pt with image size 640). Here are some things I tried:

Whenever we start physically testing the computer vision system, we should also try out various yolov5 models and image sizes, and determine the best one based on metrics and runtime.