public class PointsDetectorResult extends DetectorResult
DetectorResult.DetectionCode| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<PointsDetectorResult> |
CREATOR |
mDetectionCode, mDetectionStatus, mTransformMatrix| Constructor and Description |
|---|
PointsDetectorResult(int detectionCode,
int detectionStatus,
float[] transformMatrix,
float[] points)
Constructor which uses given parameter to initialise the object.
|
PointsDetectorResult(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
PointSet |
getPointSet()
Returns set of points of interest that represent the detection.
|
PointSet |
getTransformedPointSet()
Returns set of points of interest that represent the detection in normalized coordinate system of visible camera frame.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getDetectionCode, getDetectionCodeName, getDetectionCodeOrdinal, getDetectionStatus, setDetectionCode, toStringpublic static final android.os.Parcelable.Creator<PointsDetectorResult> CREATOR
public PointsDetectorResult(int detectionCode,
int detectionStatus,
float[] transformMatrix,
float[] points)
detectionCode - Detection code from native library.detectionStatus - Detection status from native library.transformMatrix - Transformation matrix from native library.points - Points representing the detection resultpublic PointsDetectorResult(android.os.Parcel in)
public PointSet getPointSet()
public PointSet getTransformedPointSet()
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class DetectorResultpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class DetectorResult