Skip to content

[FEATURE] Detatch confidence from labels #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
GantMan opened this issue Feb 19, 2022 · 0 comments
Open

[FEATURE] Detatch confidence from labels #61

GantMan opened this issue Feb 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@GantMan
Copy link
Member

GantMan commented Feb 19, 2022

Currently if no labels are passed, the confidence is not show, only the bounding box.

So this code:

          <AILabLocalVideo
            ObjectDetectionUI={AILabObjectDetectionUI}
            model={model}
            modelConfig={{
              modelType: 'ssd',
              // labels: CLASSES,
            }}
            visual
            src={'/walkers.mov'}
          />

creates this result:
image


But when you add labels, the label AND the confidence are displayed.

So this code:

          <AILabLocalVideo
            ObjectDetectionUI={AILabObjectDetectionUI}
            model={model}
            modelConfig={{
              modelType: 'ssd',
              labels: CLASSES,
            }}
            visual
            src={'/walkers.mov'}
          />

creates this result:
image


It would be cool if modelConfig had a setting for "confidence: true" that would show or hide the confidence regardless of the labels.

@GantMan GantMan added the enhancement New feature or request label Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant