public class GeneralAccurateOCRResponse extends AbstractModel
Constructor and Description |
---|
GeneralAccurateOCRResponse() |
GeneralAccurateOCRResponse(GeneralAccurateOCRResponse 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 |
---|---|
Float |
getAngel()
Get Image rotation angle in degrees.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
TextDetection[] |
getTextDetections()
Get Information on recognized text, including the text line content, confidence, text line coordinates, and text line coordinates after rotation correction.
|
void |
setAngel(Float Angel)
Set Image rotation angle in degrees.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setTextDetections(TextDetection[] TextDetections)
Set Information on recognized text, including the text line content, confidence, text line coordinates, and text line coordinates after rotation correction.
|
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 GeneralAccurateOCRResponse()
public GeneralAccurateOCRResponse(GeneralAccurateOCRResponse source)
public TextDetection[] getTextDetections()
public void setTextDetections(TextDetection[] TextDetections)
TextDetections
- Information on recognized text, including the text line content, confidence, text line coordinates, and text line coordinates after rotation correction. For more information, please click the link on the left.public Float getAngel()
public void setAngel(Float Angel)
Angel
- Image rotation angle in degrees. 0° indicates horizontal text. A positive value indicates clockwise rotation. A negative value indicates anticlockwise rotation. For more information, please see How to Correct Tilted Text.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2021. All rights reserved.