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

StereoDepth: fix confidence threshold configuration #111

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

alex-luxonis
Copy link
Contributor

The value set using .setConfidenceThreshold was later overwritten to 200 by some leftover code from Gen1, that was handling the runtime confidence threshold adjustment.

Note: some of our examples are using stereo->setConfidenceThreshold(255); - their behavior may slightly change with this PR (as previously the setting was ignored).

TODO: we need to add an inputConfig to StereoDepth, to be able to adjust the confidence threshold and other configs during runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants