public class ReviewImageSegmentItem extends AbstractModel
skipSign
Constructor and Description |
---|
ReviewImageSegmentItem() |
ReviewImageSegmentItem(ReviewImageSegmentItem 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 |
---|---|
Long[] |
getAreaCoordSet()
Get The pixel coordinates of the suspicious people, icons, or text.
|
Float |
getConfidence()
Get The confidence score for the suspicious segment.
|
String |
getForm()
Get The type of the suspicious segment.
|
String[] |
getKeywordSet()
Get The keywords that match the suspicious text.
|
String |
getLabel()
Get The most likely label for the suspicious content.
|
String |
getSubLabel()
Get The sub-label.
|
String |
getSuggestion()
Get The suggestion.
|
String |
getText()
Get The content of the suspicious text detected.
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set The pixel coordinates of the suspicious people, icons, or text.
|
void |
setConfidence(Float Confidence)
Set The confidence score for the suspicious segment.
|
void |
setForm(String Form)
Set The type of the suspicious segment.
|
void |
setKeywordSet(String[] KeywordSet)
Set The keywords that match the suspicious text.
|
void |
setLabel(String Label)
Set The most likely label for the suspicious content.
|
void |
setSubLabel(String SubLabel)
Set The sub-label.
|
void |
setSuggestion(String Suggestion)
Set The suggestion.
|
void |
setText(String Text)
Set The content of the suspicious text detected.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReviewImageSegmentItem()
public ReviewImageSegmentItem(ReviewImageSegmentItem source)
public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- The confidence score for the suspicious segment.public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion
- The suggestion. Valid values:
public String getLabel()
public void setLabel(String Label)
Label
- The most likely label for the suspicious content. Valid values: public String getSubLabel()
public void setSubLabel(String SubLabel)
SubLabel
- The sub-label.public String getForm()
public void setForm(String Form)
Form
- The type of the suspicious segment. Valid values:
public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet
- The pixel coordinates of the suspicious people, icons, or text. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.public String getText()
public void setText(String Text)
Text
- The content of the suspicious text detected. This parameter is valid only if `Form` is `OCR`.public String[] getKeywordSet()
public void setKeywordSet(String[] KeywordSet)
KeywordSet
- The keywords that match the suspicious text. This parameter is valid only if `Form` is `OCR`.Copyright © 2023. All rights reserved.