question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Print Confidence score and class name on bounding box.

See original GitHub issue

Hi @GeekAlexis . I was wondering if it possible to print the confidence score and class name on a bounding box drawn on a video frame.

frame

Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
GeekAlexiscommented, Jul 1, 2021

Yes, you can access them using the DET_DTYPE struct like det.conf. There is a draw_detections() function as well you can customize, and it will be turned on when you run app.py with -v

https://github.com/GeekAlexis/FastMOT/blob/9840fbc152161efef46268eb63dc49d7ef72cf2a/fastmot/utils/visualization.py#L18-L20

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get the confidence score of all class for a bounding ...
How to get the confidence score of all class for a bounding box while using pretrained object detector in pytorch.
Read more >
How find confidence for each classes in yolo darknet
# ones with high confidence scores. Assign the box's class label as the class with the highest score. classIds = []; confidences ...
Read more >
A Comprehensive Guide To Object Detection Using YOLO ...
If no object exists in a cell, its confidence score should be zero. Each bounding box consists of five predictions: x, y, w,...
Read more >
Exploring Bounding Boxes for Object Detection With Weights ...
In this article, we take a look at how to log and explore bounding boxes with Weights & Biases. Made by Stacey Svetlichnaya...
Read more >
Multiple full-image bounding boxes receiving poor confidence ...
During inference I get very poor confidence scores for the detected objects of each class, often around 0.5 or lower , which puts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found