public class ImageResultsResultDetailLocation extends AbstractModel
Constructor and Description |
---|
ImageResultsResultDetailLocation() |
ImageResultsResultDetailLocation(ImageResultsResultDetailLocation source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getHeight()
Get This parameter is used to indicate the **height of the OCR detection frame** (the length starting from the top-left corner and extending down the Y axis).
|
Float |
getRotate()
Get This parameter is used to indicate the **rotation angle of the OCR detection frame**.
|
Long |
getWidth()
Get This parameter is used to indicate the **width of the OCR detection frame** (the length starting from the top-left corner and extending to the right on the X axis).
|
Float |
getX()
Get This parameter is used to indicate the pixel position of the **abscissa (X)** of the top-left corner of the OCR detection frame.
|
Float |
getY()
Get This parameter is used to indicate the pixel position of the **ordinate (Y)** of the top-left corner of the OCR detection frame.
|
void |
setHeight(Long Height)
Set This parameter is used to indicate the **height of the OCR detection frame** (the length starting from the top-left corner and extending down the Y axis).
|
void |
setRotate(Float Rotate)
Set This parameter is used to indicate the **rotation angle of the OCR detection frame**.
|
void |
setWidth(Long Width)
Set This parameter is used to indicate the **width of the OCR detection frame** (the length starting from the top-left corner and extending to the right on the X axis).
|
void |
setX(Float X)
Set This parameter is used to indicate the pixel position of the **abscissa (X)** of the top-left corner of the OCR detection frame.
|
void |
setY(Float Y)
Set This parameter is used to indicate the pixel position of the **ordinate (Y)** of the top-left corner of the OCR detection frame.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ImageResultsResultDetailLocation()
public ImageResultsResultDetailLocation(ImageResultsResultDetailLocation source)
public Float getX()
public void setX(Float X)
X
- This parameter is used to indicate the pixel position of the **abscissa (X)** of the top-left corner of the OCR detection frame. It can be combined with other parameters to uniquely determine the size and position of the detection frame.
Note: this field may return null, indicating that no valid values can be obtained.public Float getY()
public void setY(Float Y)
Y
- This parameter is used to indicate the pixel position of the **ordinate (Y)** of the top-left corner of the OCR detection frame. It can be combined with other parameters to uniquely determine the size and position of the detection frame.
Note: this field may return null, indicating that no valid values can be obtained.public Long getWidth()
public void setWidth(Long Width)
Width
- This parameter is used to indicate the **width of the OCR detection frame** (the length starting from the top-left corner and extending to the right on the X axis). It can be combined with other parameters to uniquely determine the size and position of the detection frame.
Note: this field may return null, indicating that no valid values can be obtained.public Long getHeight()
public void setHeight(Long Height)
Height
- This parameter is used to indicate the **height of the OCR detection frame** (the length starting from the top-left corner and extending down the Y axis). It can be combined with other parameters to uniquely determine the size and position of the detection frame.
Note: this field may return null, indicating that no valid values can be obtained.public Float getRotate()
public void setRotate(Float Rotate)
Rotate
- This parameter is used to indicate the **rotation angle of the OCR detection frame**. Valid values: **0–360** (**degrees**), and the direction is **counterclockwise rotation**. This parameter can be combined with the `X` and `Y` coordinate parameters to uniquely determine the specific position of the detection frame.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.