mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Fix compilation error after merge
This commit is contained in:
@@ -84,10 +84,10 @@ public class GroupContoursPipe implements Pipe<List<MatOfPoint>, List<StandardCV
|
||||
intersectMatA.release();
|
||||
intersectMatB.release();
|
||||
|
||||
dualTargetcontor.fromList(finalContourList);
|
||||
contourBuffer.fromList(finalContourList);
|
||||
|
||||
if (dualTargetcontor.cols() != 0 && dualTargetcontor.rows() != 0) {
|
||||
RotatedRect rect = Imgproc.minAreaRect(dualTargetcontor);
|
||||
if (contourBuffer.cols() != 0 && contourBuffer.rows() != 0) {
|
||||
RotatedRect rect = Imgproc.minAreaRect(contourBuffer);
|
||||
var target = new StandardCVPipeline.TrackedTarget();
|
||||
target.minAreaRect = rect;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user