You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and expect it to return the position of matches in the "probability" range 0.8-1.
Change in #389 introduces an output[0]Mat which appears to be normalized to a different range.
The new behavior for .matchTemplate appears to always return the coordinates to the "best match", but doesn't provide a mechanism for checking how closely the result should match the template.
In test cases where you checking a source image that doesn't contain the template image, it is now unclear to me how to check on the quality of the match.
The text was updated successfully, but these errors were encountered:
Not to mention that with the new changes to matchTemplate you can't easily return multiple matches, since it just returns one ROI, however using the old version you can run
And return an array breaks the functionality of the . templateMatches function.
Would you guys be okay with me reverting most of this change, all but the CV_8S and then advising those in #387 to just use matchTemplate + templateMatches to get regions of interest in their matches?
I think the change in #389 is incompatible with #163 's introduction of the
.templateMatches
function, which is useful.In version 5.0.0 you can do the following:
and expect it to return the position of matches in the "probability" range 0.8-1.
Change in #389 introduces an
output[0]
Mat
which appears to be normalized to a different range.The new behavior for
.matchTemplate
appears to always return the coordinates to the "best match", but doesn't provide a mechanism for checking how closely the result should match the template.In test cases where you checking a source image that doesn't contain the template image, it is now unclear to me how to check on the quality of the match.
The text was updated successfully, but these errors were encountered: