public class AnprResult
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<AnprResult> |
CREATOR |
static int |
VERSION |
Constructor and Description |
---|
AnprResult(java.lang.String plate)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(AnprResult other)
Method returns true if this instance contains same result as the object passed as parameter
|
float |
getConfidence()
Method returns result confidence level
|
java.lang.String |
getCountry()
ISO 3166 Country code value
|
int |
getFrameId()
Method returns frame id
|
int |
getHeight()
Height of the plate on the result image
|
java.lang.String |
getPlate()
License plate value
|
long |
getTimestamp()
Timestamp as a number of milliseconds from epoch time defined as 1970 Jan 1
|
int |
getWidth()
Width of the plate on the result image
|
int |
getX()
X position of the left top corner of the plate on the result image
|
int |
getY()
Y position of the left top corner of the plate on result image
|
void |
setFrameId(int value)
Method sets frame id for the result
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final int VERSION
public static final android.os.Parcelable.Creator<AnprResult> CREATOR
public boolean equals(AnprResult other)
other
- object to compare withpublic void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int describeContents()
describeContents
in interface android.os.Parcelable
public java.lang.String getPlate()
public java.lang.String getCountry()
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public long getTimestamp()
public int getFrameId()
public void setFrameId(int value)
value
- new value to setpublic float getConfidence()