Fix reflective null points (#1469)

This commit is contained in:
Cameron (3539)
2024-10-14 20:31:19 -04:00
committed by GitHub
parent c961f1e22e
commit 028b6ea62f

View File

@@ -441,8 +441,10 @@ public class TrackedTarget implements Releasable {
}
{
var points = t.getTargetCorners();
for (Point point : points) {
detectedCorners.add(new TargetCorner(point.x, point.y));
if (points != null) {
for (Point point : points) {
detectedCorners.add(new TargetCorner(point.x, point.y));
}
}
}