scanflowTextAndroidSdk
1.2.3
scanflowTextAndroidSdk
/
com.scanflow.datacapture.text.ocrengine.container.detection
/
Recognition
Recognition
open
class
Recognition
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Recognition
Link copied to clipboard
open
fun
Recognition
(
labelId
:
Int
,
labelName
:
String
,
labelScore
:
Float
,
confidence
:
Float
,
location
:
RectF
)
Content copied to clipboard
Functions
get
Location
Orginal
Link copied to clipboard
open
fun
getLocationOrginal
(
orginalShape
:
Size
)
:
RectF
Content copied to clipboard
getx
Pos
Link copied to clipboard
open
fun
getxPos
(
)
:
Int
Content copied to clipboard
gety
Pos
Link copied to clipboard
open
fun
getyPos
(
)
:
Int
Content copied to clipboard
set
Label
Id
Link copied to clipboard
open
fun
setLabelId
(
labelId
:
Int
)
Content copied to clipboard
setx
Pos
Link copied to clipboard
open
fun
setxPos
(
xPos
:
Int
)
Content copied to clipboard
sety
Pos
Link copied to clipboard
open
fun
setyPos
(
yPos
:
Int
)
Content copied to clipboard
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Content copied to clipboard
Properties
confidence
Link copied to clipboard
open
var
confidence
:
Float
Content copied to clipboard
A sortable score for how good the recognition is relative to others.
label
Id
Link copied to clipboard
open
val
labelId
:
Integer
Content copied to clipboard
Display name for the recognition.
label
Name
Link copied to clipboard
open
var
labelName
:
String
Content copied to clipboard
label
Score
Link copied to clipboard
open
var
labelScore
:
Float
Content copied to clipboard
location
Link copied to clipboard
open
var
location
:
RectF
Content copied to clipboard
Optional location within the source image for the location of the recognized object.