public class AIConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
AIConfig() |
AIConfig(AIConfig 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 |
getDetectType()
Get AI 分析类型。可选值为 Facemask(口罩识别)、Chefhat(厨师帽识别)、Smoking(抽烟检测)、Chefcloth(厨师服识别)、PhoneCall(接打电话识别)、Pet(宠物识别)、Body(人体识别)和Car(车辆车牌识别)等
|
OperTimeSlot[] |
getOperTimeSlot()
Get 模板生效的时间段。最多包含5组时间段
|
Long |
getTimeInterval()
Get 截图频率。可选值1~20秒
|
void |
setDetectType(String DetectType)
Set AI 分析类型。可选值为 Facemask(口罩识别)、Chefhat(厨师帽识别)、Smoking(抽烟检测)、Chefcloth(厨师服识别)、PhoneCall(接打电话识别)、Pet(宠物识别)、Body(人体识别)和Car(车辆车牌识别)等
|
void |
setOperTimeSlot(OperTimeSlot[] OperTimeSlot)
Set 模板生效的时间段。最多包含5组时间段
|
void |
setTimeInterval(Long TimeInterval)
Set 截图频率。可选值1~20秒
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AIConfig()
public AIConfig(AIConfig source)
public String getDetectType()
public void setDetectType(String DetectType)
DetectType
- AI 分析类型。可选值为 Facemask(口罩识别)、Chefhat(厨师帽识别)、Smoking(抽烟检测)、Chefcloth(厨师服识别)、PhoneCall(接打电话识别)、Pet(宠物识别)、Body(人体识别)和Car(车辆车牌识别)等public Long getTimeInterval()
public void setTimeInterval(Long TimeInterval)
TimeInterval
- 截图频率。可选值1~20秒public OperTimeSlot[] getOperTimeSlot()
public void setOperTimeSlot(OperTimeSlot[] OperTimeSlot)
OperTimeSlot
- 模板生效的时间段。最多包含5组时间段Copyright © 2024. All rights reserved.