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.

--show visualisation is not displaying parameters

See original GitHub issue

It looks like the repo has been updated. @GeekAlexis

I ran the following command

python3 app.py --i ./c1.mp4 --mot -s

Current Behavior

while running an inference whne we enable the show_conf paramter . It should show confidance score on bounding box but apparently it does not.

def draw_detections(frame, detections, color=(255, 255, 255), show_conf=True):
    for det in detections:
        text = f'{det.label}: {det.conf:.2f}' if show_conf else None
        draw_bbox(frame, det.tlbr, color, 1, text)

Please the attached image Screenshot from 2021-07-01 17-06-19

Expected behaviour

  1. I would like to print confidence score, ID and label on the bounding box on a video.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Myron1996commented, Sep 22, 2021

Hi @GeekAlexis ,

Can you please tell me what exactly I need to change to make sure that confidence score is being printed constantly.

I am running following command : python3 app.py -i c1.mp4 --mot -s -v

0reactions
AngelaZhacommented, Dec 16, 2021

@Maslij Thanks a lot! It does show constantly if reduced to 1, although the trade-off is a much lower FPS.

I wonder if I can modify code a bit so the tracks also inherit det.conf and also display confidence level in draw_tracks https://github.com/GeekAlexis/FastMOT/blob/a185b78b771546151d42e02397f6940e4ee47bd8/fastmot/utils/visualization.py#L10-L13

Read more comments on GitHub >

github_iconTop Results From Across the Web

Power BI - Show Parameters in Report - YouTube
In this video, you will learn how to display your parameter values in your report. This might come in handy if you want...
Read more >
Layout Issue: Parameter not appearing on phone layout
I am having an issue with a parameter not appearing when I view the dashboard on a mobile device. As you can see...
Read more >
Let report readers use field parameters to change visuals ...
To create a new field parameter, go to the Modeling tab and select New parameter > Fields. Screenshot of the Modeling ribbon, showing...
Read more >
Parameters | Query and analyze data - Mode Support
Overview. Use parameters to make reports more scalable, re-usable and interactive by allowing viewers to modify the data returned by a report without ......
Read more >
How to Choose the Right Data Visualization | Tutorial by Chartio
Charts for showing part-to-whole composition. Sometimes, we need to know not just a total, but the components that comprise that total. While other...
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