Class CVShape

java.lang.Object
org.photonvision.vision.opencv.CVShape
All Implemented Interfaces:
Releasable

public class CVShape extends Object implements Releasable
  • Field Details

    • contour

      public final Contour contour
    • shape

      @Nullable public final @Nullable ContourShape shape
    • radius

      public double radius
    • center

      public org.opencv.core.Point center
  • Constructor Details

    • CVShape

      public CVShape(Contour contour, ContourShape shape)
    • CVShape

      public CVShape(Contour contour, org.opencv.core.Point center, double radius)
    • CVShape

      public CVShape(Contour contour, org.opencv.core.MatOfPoint3f targetPoints)
  • Method Details

    • getContour

      public Contour getContour()
    • release

      public void release()
      Specified by:
      release in interface Releasable