public static class ContourDetectorFrameHandler.DetectedFrame
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
DetectionResult |
detectionResult
Contour detection result status.
|
int |
frameHeight
Height of the frame before rotation
|
int |
frameOrientation
Rotation of the frame in degrees relatively to what is seen on the screen.
|
int |
frameWidth
Width of the frame before rotation
|
java.util.List<android.graphics.PointF> |
polygon
Detected polygon.
|
| Constructor and Description |
|---|
ContourDetectorFrameHandler.DetectedFrame(DetectionResult detectionResult,
java.util.List<android.graphics.PointF> polygon,
int frameOrientation,
int frameWidth,
int frameHeight) |
public final DetectionResult detectionResult
public final java.util.List<android.graphics.PointF> polygon
For instance, point.x = 0.5f means that point is centered horizontally in the
frame. point.y = 1.0f means that point is at the bottom of the frame and so on.
Note, that points are not rotated by frameOrientation.
public final int frameOrientation
polygon.public final int frameWidth
public final int frameHeight