public class ReviewAudioVideoSegmentItem extends AbstractModel
skipSign
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 The pixel coordinates ([x1, y1, x2, y2]) of the top-left corner and bottom-right corner of the suspicious text.
|
Float |
getConfidence()
Get The confidence score of the segment.
|
Float |
getEndTimeOffset()
Get The end time offset (seconds) of the segment.
|
String |
getForm()
Get The format of the suspicious segment detected.
|
String[] |
getKeywordSet()
Get The keywords that match the suspicious text.
|
String |
getLabel()
Get The most likely label for the segment.
|
String |
getPicUrlExpireTime()
Get The expiration time of the suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
Float |
getStartTimeOffset()
Get The start time offset (seconds) of the segment.
|
String |
getSubLabel()
Get The sublabel for the segment.
|
String |
getSuggestion()
Get The processing suggestion for the segment.
|
String |
getText()
Get The content of the suspicious text detected.
|
String |
getUrl()
Get The URL of a suspected image (which will be deleted
after `PicUrlExpireTime`).
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set The pixel coordinates ([x1, y1, x2, y2]) of the top-left corner and bottom-right corner of the suspicious text.
|
void |
setConfidence(Float Confidence)
Set The confidence score of the segment.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set The end time offset (seconds) of the segment.
|
void |
setForm(String Form)
Set The format of the suspicious segment detected.
|
void |
setKeywordSet(String[] KeywordSet)
Set The keywords that match the suspicious text.
|
void |
setLabel(String Label)
Set The most likely label for the segment.
|
void |
setPicUrlExpireTime(String PicUrlExpireTime)
Set The expiration time of the suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set The start time offset (seconds) of the segment.
|
void |
setSubLabel(String SubLabel)
Set The sublabel for the segment.
|
void |
setSuggestion(String Suggestion)
Set The processing suggestion for the segment.
|
void |
setText(String Text)
Set The content of the suspicious text detected.
|
void |
setUrl(String Url)
Set The URL of a suspected image (which will be deleted
after `PicUrlExpireTime`).
|
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 ReviewAudioVideoSegmentItem()
public ReviewAudioVideoSegmentItem(ReviewAudioVideoSegmentItem source)
public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset
- The start time offset (seconds) of the segment.public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset
- The end time offset (seconds) of the segment.public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- The confidence score of the segment.public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion
- The processing suggestion for the segment. Valid values:
public String getLabel()
public void setLabel(String Label)
Label
- The most likely label for the segment. Valid values:
public String getSubLabel()
public void setSubLabel(String SubLabel)
SubLabel
- The sublabel for the segment. This parameter is valid only if `Form` is `Image` or `Voice`.
Valid values when `Form` is `Image` and `Label` is `Porn`:
public String getForm()
public void setForm(String Form)
Form
- The format of the suspicious segment detected. Valid values:
public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet
- The pixel coordinates ([x1, y1, x2, y2]) of the top-left corner and bottom-right corner of the suspicious text. This parameter is valid only if `Form` is `OCR`.
Note: This parameter is not supported currently.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` or `ASR`.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` or `ASR`.public String getUrl()
public void setUrl(String Url)
Url
- The URL of a suspected image (which will be deleted
after `PicUrlExpireTime`).public String getPicUrlExpireTime()
public void setPicUrlExpireTime(String PicUrlExpireTime)
PicUrlExpireTime
- The expiration time of the suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).Copyright © 2023. All rights reserved.