mirror of https://github.com/opencv/opencv.git
Add check for all zero moments. If one of the shapes is empty, the match would return zero distance between the shapes even when the other one had content. It now returns DBL_MAX if no moments had value.
parent
9be630466f
commit
d33d37ffd9
1 changed files with 7 additions and 0 deletions
Loading…
Reference in new issue