ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
50.91k stars 16.39k forks source link

Counter #850

Closed jomdolalas closed 4 years ago

jomdolalas commented 4 years ago

❔Question

Hi! I'm currently doing human detection using my webcam. I noticed there is a person counter in the terminal, was wondering if there is a way to add the same line in my output window? Like in the upper left part of the window there is a line saying "People: [# of people webcam is seeing]"

Additional context

I'm new to yolo and object detection, I'm sorry.

glenn-jocher commented 4 years ago

@jomdolalas you can add any burnin info onto the images you want, that's simply between you and whatever plotting solution you use (i.e. PIL, opencv). Everything you need to do this is in detect.py.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.