Class FindCirclesPipe
java.lang.Object
org.photonvision.vision.pipe.CVPipe<org.apache.commons.lang3.tuple.Pair<org.opencv.core.Mat,List<Contour>>,List<CVShape>,FindCirclesPipe.FindCirclePipeParams>
org.photonvision.vision.pipe.impl.FindCirclesPipe
-
Nested Class Summary
Nested classes/interfaces inherited from class org.photonvision.vision.pipe.CVPipe
CVPipe.CVPipeResult<O>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FindCirclesPipe
public FindCirclesPipe()
-
-
Method Details
-
process
protected List<CVShape> process(org.apache.commons.lang3.tuple.Pair<org.opencv.core.Mat, List<Contour>> in) Runs the process for the pipe. The reason we need a separate pipe for circles is because if we were to use the FindShapes pipe, we would have to assume that any shape more than 10-20+ sides is a circle. Only issue with such approximation is that the user would no longer be able to track shapes with 10-20+ sides. And hence, in order to overcome this edge case, we can use HoughCircles which is more flexible and accurate for finding circles.
-