Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
ori agranat
2019-11-28 01:38:52 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ public class GroupContoursPipe implements Pipe<List<MatOfPoint>, List<RotatedRec
groupedContours.clear();
if (input.size() > 0) {
if (input.size() > (group.equals(TargetGroup.Single) ? 0 : 1)) {
List<MatOfPoint> sorted = new ArrayList<>(input);
sorted.sort(sortByMomentsX);