public class OCRItem extends AbstractModel
Constructor and Description |
---|
OCRItem() |
OCRItem(OCRItem 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 |
getEvilLabel()
Get 文本命中具体标签
|
Long |
getEvilType()
Get 文本命中恶意违规类型
|
String[] |
getKeywords()
Get 文本命中违规的关键词
|
Long |
getRate()
Get 文本涉嫌违规分值
|
String |
getTextContent()
Get 检测到的文本信息
|
Coordinate |
getTextPosition()
Get 检测到的文本坐标信息
|
void |
setEvilLabel(String EvilLabel)
Set 文本命中具体标签
|
void |
setEvilType(Long EvilType)
Set 文本命中恶意违规类型
|
void |
setKeywords(String[] Keywords)
Set 文本命中违规的关键词
|
void |
setRate(Long Rate)
Set 文本涉嫌违规分值
|
void |
setTextContent(String TextContent)
Set 检测到的文本信息
|
void |
setTextPosition(Coordinate TextPosition)
Set 检测到的文本坐标信息
|
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 OCRItem()
public OCRItem(OCRItem source)
public Coordinate getTextPosition()
public void setTextPosition(Coordinate TextPosition)
TextPosition
- 检测到的文本坐标信息public String getEvilLabel()
public void setEvilLabel(String EvilLabel)
EvilLabel
- 文本命中具体标签public Long getEvilType()
public void setEvilType(Long EvilType)
EvilType
- 文本命中恶意违规类型public String[] getKeywords()
public void setKeywords(String[] Keywords)
Keywords
- 文本命中违规的关键词public Long getRate()
public void setRate(Long Rate)
Rate
- 文本涉嫌违规分值public String getTextContent()
public void setTextContent(String TextContent)
TextContent
- 检测到的文本信息Copyright © 2021. All rights reserved.