public class OcrTextDetail extends AbstractModel
Constructor and Description |
---|
OcrTextDetail() |
Modifier and Type | Method and Description |
---|---|
String[] |
getKeywords()
Get 该标签下命中的关键词
|
String |
getLabel()
Get 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词
|
String |
getLibId()
Get 仅当Lable为Custom自定义关键词时有效,表示自定义库id
|
String |
getLibName()
Get 仅当Lable为Custom自定义关键词时有效,表示自定义库名称
|
Location |
getLocation()
Get OCR位置
|
Long |
getScore()
Get 该标签模型命中的分值
|
String |
getText()
Get OCR文本内容
|
void |
setKeywords(String[] Keywords)
Set 该标签下命中的关键词
|
void |
setLabel(String Label)
Set 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词
|
void |
setLibId(String LibId)
Set 仅当Lable为Custom自定义关键词时有效,表示自定义库id
|
void |
setLibName(String LibName)
Set 仅当Lable为Custom自定义关键词时有效,表示自定义库名称
|
void |
setLocation(Location Location)
Set OCR位置
|
void |
setScore(Long Score)
Set 该标签模型命中的分值
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getText()
public void setText(String Text)
Text
- OCR文本内容public String getLabel()
public void setLabel(String Label)
Label
- 恶意标签,Normal:正常,Polity:涉政,Porn:色情,Illegal:违法,Abuse:谩骂,Terror:暴恐,Ad:广告,Custom:自定义关键词public String getLibId()
public void setLibId(String LibId)
LibId
- 仅当Lable为Custom自定义关键词时有效,表示自定义库idpublic String getLibName()
public void setLibName(String LibName)
LibName
- 仅当Lable为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位置Copyright © 2020. All rights reserved.