Loading src/main/java/object_detection/types/ObjectSet.java +6 −2 Original line number Diff line number Diff line Loading @@ -131,8 +131,11 @@ public class ObjectSet { public void updateObjectSet(List<ArrayList<Point>> points) { // for each BoundingBox we have all points that fall within it for(ArrayList<Point> point : points) { Point[] pointArray = point.toArray(new Point[0]); for(ArrayList<Point> singleBoxPoints : points) { if(singleBoxPoints.isEmpty()){ continue; } Point[] pointArray = singleBoxPoints.toArray(new Point[0]); int objIdx = makeObject(pointArray); // Compare the new object with all existing objects Loading @@ -142,6 +145,7 @@ public class ObjectSet { continue; } if (compareObjects(objIdx, j)) { System.out.println("COMBINING"); combineObjects(j, objIdx); break; } Loading target/classes/object_detection/types/ObjectSet.class +73 B (6.31 KiB) File changed.No diff preview for this file type. View original file View changed file Loading
src/main/java/object_detection/types/ObjectSet.java +6 −2 Original line number Diff line number Diff line Loading @@ -131,8 +131,11 @@ public class ObjectSet { public void updateObjectSet(List<ArrayList<Point>> points) { // for each BoundingBox we have all points that fall within it for(ArrayList<Point> point : points) { Point[] pointArray = point.toArray(new Point[0]); for(ArrayList<Point> singleBoxPoints : points) { if(singleBoxPoints.isEmpty()){ continue; } Point[] pointArray = singleBoxPoints.toArray(new Point[0]); int objIdx = makeObject(pointArray); // Compare the new object with all existing objects Loading @@ -142,6 +145,7 @@ public class ObjectSet { continue; } if (compareObjects(objIdx, j)) { System.out.println("COMBINING"); combineObjects(j, objIdx); break; } Loading
target/classes/object_detection/types/ObjectSet.class +73 B (6.31 KiB) File changed.No diff preview for this file type. View original file View changed file