Package org.photonvision.vision.target
Class PotentialTarget
java.lang.Object
org.photonvision.vision.target.PotentialTarget
- All Implemented Interfaces:
Releasable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPotentialTarget
(Contour inputContour) PotentialTarget
(Contour inputContour, List<Contour> subContours) PotentialTarget
(Contour inputContour, List<Contour> subContours, CVShape shape) PotentialTarget
(Contour inputContour, CVShape shape) PotentialTarget
(CVShape cvShape) -
Method Summary
-
Field Details
-
m_mainContour
-
m_subContours
-
shape
-
confidence
public final double confidence -
clsId
public final int clsId
-
-
Constructor Details
-
PotentialTarget
-
PotentialTarget
-
PotentialTarget
-
PotentialTarget
-
PotentialTarget
-
PotentialTarget
-
-
Method Details
-
getMinAreaRect
public org.opencv.core.RotatedRect getMinAreaRect() -
getArea
public double getArea() -
release
public void release()- Specified by:
release
in interfaceReleasable
-