mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Fix target grouping bug
This commit is contained in:
@@ -103,6 +103,9 @@ public class GroupContoursPipe implements Pipe<List<MatOfPoint>, List<StandardCV
|
||||
Pair.of(minAreaRect1, minAreaRect2);
|
||||
|
||||
groupedContours.add(target);
|
||||
|
||||
// skip the next contour because it's been grouped already
|
||||
i += 1;
|
||||
}
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
finalContourList.clear();
|
||||
|
||||
Reference in New Issue
Block a user