public class AiBcrOcrDataPart extends Object
Constructor and Description |
---|
AiBcrOcrDataPart() |
AiBcrOcrDataPart(Double x,
Double y,
Double width,
Double height,
String text,
Map<String,String> details)
Initializes a new instance of the AiBcrOcrDataPart
|
Modifier and Type | Method and Description |
---|---|
AiBcrOcrDataPart |
details(Map<String,String> details) |
boolean |
equals(Object o) |
Map<String,String> |
getDetails()
Additional recognition result details
|
Double |
getHeight()
Height of text block
|
String |
getText()
Recognized text
|
Double |
getWidth()
Width of text block
|
Double |
getX()
X position of text block
|
Double |
getY()
Y position of text block
|
int |
hashCode() |
AiBcrOcrDataPart |
height(Double height) |
AiBcrOcrDataPart |
putDetailsItem(String key,
String detailsItem) |
void |
setDetails(Map<String,String> details) |
void |
setHeight(Double height) |
void |
setText(String text) |
void |
setWidth(Double width) |
void |
setX(Double x) |
void |
setY(Double y) |
AiBcrOcrDataPart |
text(String text) |
String |
toString() |
AiBcrOcrDataPart |
width(Double width) |
AiBcrOcrDataPart |
x(Double x) |
AiBcrOcrDataPart |
y(Double y) |
public AiBcrOcrDataPart()
public AiBcrOcrDataPart(Double x, Double y, Double width, Double height, String text, Map<String,String> details)
x
- X position of text blocky
- Y position of text blockwidth
- Width of text blockheight
- Height of text blocktext
- Recognized textdetails
- Additional recognition result detailspublic AiBcrOcrDataPart x(Double x)
public Double getX()
public void setX(Double x)
public AiBcrOcrDataPart y(Double y)
public Double getY()
public void setY(Double y)
public AiBcrOcrDataPart width(Double width)
public Double getWidth()
public void setWidth(Double width)
public AiBcrOcrDataPart height(Double height)
public Double getHeight()
public void setHeight(Double height)
public AiBcrOcrDataPart text(String text)
public String getText()
public void setText(String text)
public AiBcrOcrDataPart details(Map<String,String> details)
public AiBcrOcrDataPart putDetailsItem(String key, String detailsItem)
public Map<String,String> getDetails()
Copyright © 2020. All rights reserved.