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

SimpleTemplateMatching should expose scores or matcher #5

Open
jeremydouglass opened this issue Jun 11, 2020 · 0 comments
Open

SimpleTemplateMatching should expose scores or matcher #5

jeremydouglass opened this issue Jun 11, 2020 · 0 comments

Comments

@jeremydouglass
Copy link

(from https://discourse.processing.org/t/boofcv-now-includes-qr-code-detecting-templates-and-motion-detection/4698/5?u=jeremydouglass)

I like the SimpleTemplate example.

One suggestion: expose the matching scores from that class. For example, offer a SimpleTemplateMatching scores() method that either returns boofcv List or else just returns a processing List with x, y, score. Template matching results are very seldom useful without the scores – even in the simplest case of determining whether the mouse pointer is or is not present.

Or you could just make the matcher public. I took a quick look, and it seems like right now the whole chain is locked up to prevent extending – Boof.templateMatching returns a SimpleTemplateMatching with a private matcher and no access methods to its Match scores.

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

No branches or pull requests

1 participant