public class SkystoneDetector
extends OpenCvPipeline
Modifier and Type | Class and Description |
---|---|
static class |
SkystoneDetector.SkystonePosition |
Constructor and Description |
---|
SkystoneDetector() |
SkystoneDetector(double firstSkystonePositionPercentage,
double percentSpacing,
double stoneWidth,
double stoneHeight) |
SkystoneDetector(double firstSkystonePositionPercentage,
double percentSpacing,
double stoneWidth,
double stoneHeight,
Telemetry tl) |
SkystoneDetector(Telemetry tl) |
Modifier and Type | Method and Description |
---|---|
Mat |
drawRectangle(Mat frame,
Rect rect,
Scalar color,
int thickness)
This will create the rectangles
|
SkystoneDetector.SkystonePosition |
getSkystonePosition() |
Mat |
processFrame(Mat input) |
public SkystoneDetector(Telemetry tl)
public SkystoneDetector()
public SkystoneDetector(double firstSkystonePositionPercentage, double percentSpacing, double stoneWidth, double stoneHeight, Telemetry tl)
public SkystoneDetector(double firstSkystonePositionPercentage, double percentSpacing, double stoneWidth, double stoneHeight)
public Mat drawRectangle(Mat frame, Rect rect, Scalar color, int thickness)
frame
- the input matrect
- the rectanglecolor
- the color of the rectangle when it is displayed on screenthickness
- the thickness of the rectanglepublic Mat processFrame(Mat input)
public SkystoneDetector.SkystonePosition getSkystonePosition()