Skip to content
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

Confidence values are not separated #1

Open
MarcoSteinke opened this issue Mar 6, 2021 · 1 comment
Open

Confidence values are not separated #1

MarcoSteinke opened this issue Mar 6, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@MarcoSteinke
Copy link
Owner

In the frontend the display of the object's confidence values is not done right. It is only iteration-wise and I did not come to think about it yet. It is a quite simple problem I think

@MarcoSteinke MarcoSteinke added the bug Something isn't working label Mar 6, 2021
@MarcoSteinke
Copy link
Owner Author

Detected objects are also not separated.

The following methods from https://github.com/MarcoSteinke/Security-Cam/blob/main/src/Detection/Detection.js seem to be causing a bug.

getObjectLabels() {
  return objects.map(object => object.label).join(',');
}

getObjectConfidences() {
  return objects.map(object => object.confidence.toFixed(2)).join(',');
}

@MarcoSteinke MarcoSteinke added this to the Proof of Concept milestone Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant