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
When you set some wanted number of rectangles with imageComparison.setMaximalRectangleCount(10); (other then -1) and the comparing found fewer rectangles than this number, you got java.lang.IllegalArgumentException: -3 at
ImageComparison.java:359 because in
Hexronimo
changed the title
Exception when maximalRectangleCount is bigger then rectangles.size() [BUG]
Exception when maximalRectangleCount is bigger than rectangles.size() [BUG]
Jan 11, 2020
When you set some wanted number of rectangles with
imageComparison.setMaximalRectangleCount(10);
(other then -1) and the comparing found fewer rectangles than this number, you got java.lang.IllegalArgumentException: -3 atImageComparison.java:359 because in
rectangles.size()-maximalRectangleCount will be negative number.
The text was updated successfully, but these errors were encountered: