public class GeneralBasicOCRResponse extends AbstractModel
Constructor and Description |
---|
GeneralBasicOCRResponse() |
Modifier and Type | Method and Description |
---|---|
Float |
getAngel()
Get Image rotation angle in degrees.
|
String |
getLanguage()
Get Detected language.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
TextDetection[] |
getTextDetections()
Get Information of 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 |
setLanguage(String Language)
Set Detected language.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setTextDetections(TextDetection[] TextDetections)
Set Information of 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 TextDetection[] getTextDetections()
public void setTextDetections(TextDetection[] TextDetections)
TextDetections
- Information of 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 String getLanguage()
public void setLanguage(String Language)
Language
- Detected language. For more information on the supported languages, please see the description of the `LanguageType` input parameter.public Float getAngel()
public void setAngel(Float Angel)
Angel
- Image rotation angle in degrees. 0° indicates horizontal text, a positive value indicates clockwise rotation, and a negative value indicates anticlockwise rotation. For more information, please see How to Correct Tilted Textpublic 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 © 2020. All rights reserved.