public class OcrTextDetail extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| OcrTextDetail() | 
| OcrTextDetail(OcrTextDetail 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 | 
|---|---|
| String[] | getKeywords()Get 该标签下命中的关键词 | 
| String | getLabel()Get 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
以及令人反感、不安全或不适宜的内容类型。 | 
| String | getLibId()Get 仅当Label为Custom自定义关键词时有效,表示自定义库id | 
| String | getLibName()Get 仅当Label为Custom自定义关键词时有效,表示自定义库名称 | 
| Location | getLocation()Get OCR位置 | 
| Long | getRate()Get OCR文本识别置信度 | 
| Long | getScore()Get 该标签模型命中的分值 | 
| String | getSubLabel()Get OCR文本命中的二级标签 | 
| String | getText()Get OCR文本内容 | 
| void | setKeywords(String[] Keywords)Set 该标签下命中的关键词 | 
| void | setLabel(String Label)Set 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
以及令人反感、不安全或不适宜的内容类型。 | 
| void | setLibId(String LibId)Set 仅当Label为Custom自定义关键词时有效,表示自定义库id | 
| void | setLibName(String LibName)Set 仅当Label为Custom自定义关键词时有效,表示自定义库名称 | 
| void | setLocation(Location Location)Set OCR位置 | 
| void | setRate(Long Rate)Set OCR文本识别置信度 | 
| void | setScore(Long Score)Set 该标签模型命中的分值 | 
| void | setSubLabel(String SubLabel)Set OCR文本命中的二级标签 | 
| void | setText(String Text)Set OCR文本内容 | 
| 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 OcrTextDetail()
public OcrTextDetail(OcrTextDetail source)
public String getText()
public void setText(String Text)
Text - OCR文本内容public String getLabel()
public void setLabel(String Label)
Label - 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
以及令人反感、不安全或不适宜的内容类型。public String getLibId()
public void setLibId(String LibId)
LibId - 仅当Label为Custom自定义关键词时有效,表示自定义库idpublic String getLibName()
public void setLibName(String LibName)
LibName - 仅当Label为Custom自定义关键词时有效,表示自定义库名称public String[] getKeywords()
public void setKeywords(String[] Keywords)
Keywords - 该标签下命中的关键词public Long getScore()
public void setScore(Long Score)
Score - 该标签模型命中的分值public Location getLocation()
public void setLocation(Location Location)
Location - OCR位置public Long getRate()
public void setRate(Long Rate)
Rate - OCR文本识别置信度public String getSubLabel()
public void setSubLabel(String SubLabel)
SubLabel - OCR文本命中的二级标签Copyright © 2025. All rights reserved.