public class ImageOcr extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ImageOcr() | 
| ImageOcr(ImageOcr 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 | 
|---|---|
| Rectf | getAppearRect()Get 可视文本在图片中的位置信息
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getContent()Get 图片中可视文本识别结果
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setAppearRect(Rectf AppearRect)Set 可视文本在图片中的位置信息
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setContent(String Content)Set 图片中可视文本识别结果
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ImageOcr()
public ImageOcr(ImageOcr source)
public String getContent()
public void setContent(String Content)
Content - 图片中可视文本识别结果
注意:此字段可能返回 null,表示取不到有效值。public Rectf getAppearRect()
public void setAppearRect(Rectf AppearRect)
AppearRect - 可视文本在图片中的位置信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.