public class ReviewAudioVideoSegmentItem extends AbstractModel
| Constructor and Description |
|---|
ReviewAudioVideoSegmentItem() |
ReviewAudioVideoSegmentItem(ReviewAudioVideoSegmentItem 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 当 Form 为 Image 或 OCR 时有效,表示嫌疑人物、图标或文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
|
Float |
getConfidence()
Get 嫌疑片段涉及令人反感的信息的分数。
|
Float |
getEndTimeOffset()
Get 嫌疑片段结束的偏移时间,单位:秒。
|
String |
getForm()
Get 嫌疑片段违禁的形式,取值范围:
Image:画面上的人物或图标;
OCR:画面上的文字;
ASR:语音中的文字;
Voice:声音。
|
String[] |
getKeywordSet()
Get 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。
|
String |
getLabel()
Get 嫌疑片段最可能的违规的标签,取值范围:
Porn:色情;
Terrorism:暴恐;
Political:令人不适宜的信息。
|
Float |
getStartTimeOffset()
Get 嫌疑片段起始的偏移时间,单位:秒。
|
String |
getSubLabel()
Get 当 Form 为 Image 或 Voice 时有效,表示当前标签(Label)下的二级标签。
当 Form 为 Image 且 Label 为 Porn 时,取值范围:
porn:色情;
vulgar:低俗。
当 Form 为 Image 且 Label 为 Terrorism 时,取值范围:
guns:武器枪支;
bloody:血腥画面;
banners:暴恐旗帜;
scenario:暴恐画面;
explosion:爆炸火灾。
当 Form 为 Image 且 Label 为 Political 时,取值范围:
violation_photo:违规图标;
nation_politician:国家领导人;
province_politician:省部级领导人;
county_politician:市/县级领导人;
sensitive_politician:敏感相关人物;
foreign_politician:国外政治人物;
sensitive_entertainment:敏感娱乐明星;
sensitive_military:敏感军事人物。
当 Form 为 Voice 且 Label 为 Porn 时,取值范围:
moan:娇喘。
|
String |
getSuggestion()
Get 嫌疑片段鉴别涉及违规信息的结果建议,取值范围:
review:疑似违规,建议复审;
block:确认违规,建议封禁。
|
String |
getText()
Get 当 Form 为 OCR 或 ASR 时有效,表示识别出来的 OCR 或 ASR 文本内容。
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set 当 Form 为 Image 或 OCR 时有效,表示嫌疑人物、图标或文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
|
void |
setConfidence(Float Confidence)
Set 嫌疑片段涉及令人反感的信息的分数。
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set 嫌疑片段结束的偏移时间,单位:秒。
|
void |
setForm(String Form)
Set 嫌疑片段违禁的形式,取值范围:
Image:画面上的人物或图标;
OCR:画面上的文字;
ASR:语音中的文字;
Voice:声音。
|
void |
setKeywordSet(String[] KeywordSet)
Set 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。
|
void |
setLabel(String Label)
Set 嫌疑片段最可能的违规的标签,取值范围:
Porn:色情;
Terrorism:暴恐;
Political:令人不适宜的信息。
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set 嫌疑片段起始的偏移时间,单位:秒。
|
void |
setSubLabel(String SubLabel)
Set 当 Form 为 Image 或 Voice 时有效,表示当前标签(Label)下的二级标签。
当 Form 为 Image 且 Label 为 Porn 时,取值范围:
porn:色情;
vulgar:低俗。
当 Form 为 Image 且 Label 为 Terrorism 时,取值范围:
guns:武器枪支;
bloody:血腥画面;
banners:暴恐旗帜;
scenario:暴恐画面;
explosion:爆炸火灾。
当 Form 为 Image 且 Label 为 Political 时,取值范围:
violation_photo:违规图标;
nation_politician:国家领导人;
province_politician:省部级领导人;
county_politician:市/县级领导人;
sensitive_politician:敏感相关人物;
foreign_politician:国外政治人物;
sensitive_entertainment:敏感娱乐明星;
sensitive_military:敏感军事人物。
当 Form 为 Voice 且 Label 为 Porn 时,取值范围:
moan:娇喘。
|
void |
setSuggestion(String Suggestion)
Set 嫌疑片段鉴别涉及违规信息的结果建议,取值范围:
review:疑似违规,建议复审;
block:确认违规,建议封禁。
|
void |
setText(String Text)
Set 当 Form 为 OCR 或 ASR 时有效,表示识别出来的 OCR 或 ASR 文本内容。
|
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, toJsonStringpublic ReviewAudioVideoSegmentItem()
public ReviewAudioVideoSegmentItem(ReviewAudioVideoSegmentItem source)
public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset - 嫌疑片段起始的偏移时间,单位:秒。public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset - 嫌疑片段结束的偏移时间,单位:秒。public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence - 嫌疑片段涉及令人反感的信息的分数。public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion - 嫌疑片段鉴别涉及违规信息的结果建议,取值范围:
public String getLabel()
public void setLabel(String Label)
Label - 嫌疑片段最可能的违规的标签,取值范围:
public String getSubLabel()
public void setSubLabel(String SubLabel)
SubLabel - 当 Form 为 Image 或 Voice 时有效,表示当前标签(Label)下的二级标签。
当 Form 为 Image 且 Label 为 Porn 时,取值范围:
public String getForm()
public void setForm(String Form)
Form - 嫌疑片段违禁的形式,取值范围:
public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet - 当 Form 为 Image 或 OCR 时有效,表示嫌疑人物、图标或文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。public String getText()
public void setText(String Text)
Text - 当 Form 为 OCR 或 ASR 时有效,表示识别出来的 OCR 或 ASR 文本内容。public String[] getKeywordSet()
public void setKeywordSet(String[] KeywordSet)
KeywordSet - 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。Copyright © 2022. All rights reserved.