tencentcloud-sdk-python-iotexplorer 3.1.115__tar.gz → 3.1.126__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/models.py +398 -36
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.126/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.115/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.126
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.115 → tencentcloud_sdk_python_iotexplorer-3.1.126}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.126,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -831,6 +831,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
831
831
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
832
|
|
|
833
833
|
|
|
834
|
+
def CreateTWeSeeDirectUploadCredential(self, request):
|
|
835
|
+
r"""创建 TWeSee COS 直传凭据。调用方获取临时密钥后,可将视频 / 图片上传到返回的 StoragePath 前缀下;对象上传成功后由 COS 事件触发 TWeSee 任务创建。
|
|
836
|
+
|
|
837
|
+
:param request: Request instance for CreateTWeSeeDirectUploadCredential.
|
|
838
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeDirectUploadCredentialRequest`
|
|
839
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeDirectUploadCredentialResponse`
|
|
840
|
+
|
|
841
|
+
"""
|
|
842
|
+
try:
|
|
843
|
+
params = request._serialize()
|
|
844
|
+
headers = request.headers
|
|
845
|
+
body = self.call("CreateTWeSeeDirectUploadCredential", params, headers=headers)
|
|
846
|
+
response = json.loads(body)
|
|
847
|
+
model = models.CreateTWeSeeDirectUploadCredentialResponse()
|
|
848
|
+
model._deserialize(response["Response"])
|
|
849
|
+
return model
|
|
850
|
+
except Exception as e:
|
|
851
|
+
if isinstance(e, TencentCloudSDKException):
|
|
852
|
+
raise
|
|
853
|
+
else:
|
|
854
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
|
+
|
|
856
|
+
|
|
834
857
|
def CreateTWeSeePostPaidService(self, request):
|
|
835
858
|
r"""开通 TWeSee 后付费服务
|
|
836
859
|
|
|
@@ -655,6 +655,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
655
655
|
|
|
656
656
|
return await self.call_and_deserialize(**kwargs)
|
|
657
657
|
|
|
658
|
+
async def CreateTWeSeeDirectUploadCredential(
|
|
659
|
+
self,
|
|
660
|
+
request: models.CreateTWeSeeDirectUploadCredentialRequest,
|
|
661
|
+
opts: Dict = None,
|
|
662
|
+
) -> models.CreateTWeSeeDirectUploadCredentialResponse:
|
|
663
|
+
"""
|
|
664
|
+
创建 TWeSee COS 直传凭据。调用方获取临时密钥后,可将视频 / 图片上传到返回的 StoragePath 前缀下;对象上传成功后由 COS 事件触发 TWeSee 任务创建。
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
kwargs = {}
|
|
668
|
+
kwargs["action"] = "CreateTWeSeeDirectUploadCredential"
|
|
669
|
+
kwargs["params"] = request._serialize()
|
|
670
|
+
kwargs["resp_cls"] = models.CreateTWeSeeDirectUploadCredentialResponse
|
|
671
|
+
kwargs["headers"] = request.headers
|
|
672
|
+
kwargs["opts"] = opts or {}
|
|
673
|
+
|
|
674
|
+
return await self.call_and_deserialize(**kwargs)
|
|
675
|
+
|
|
658
676
|
async def CreateTWeSeePostPaidService(
|
|
659
677
|
self,
|
|
660
678
|
request: models.CreateTWeSeePostPaidServiceRequest,
|
|
@@ -6916,6 +6916,327 @@ class CreateTWeSeeCallbackResponse(AbstractModel):
|
|
|
6916
6916
|
self._RequestId = params.get("RequestId")
|
|
6917
6917
|
|
|
6918
6918
|
|
|
6919
|
+
class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
6920
|
+
r"""CreateTWeSeeDirectUploadCredential请求参数结构体
|
|
6921
|
+
|
|
6922
|
+
"""
|
|
6923
|
+
|
|
6924
|
+
def __init__(self):
|
|
6925
|
+
r"""
|
|
6926
|
+
:param _ProductId: <p>产品 ID</p><p>非 IoT 设备可传 <code>default</code></p>
|
|
6927
|
+
:type ProductId: str
|
|
6928
|
+
:param _DeviceName: <p>设备名称</p>
|
|
6929
|
+
:type DeviceName: str
|
|
6930
|
+
:param _ServiceType: <p>算法类型</p><p>枚举值:</p><ul><li>VID_COMP: 视频理解(支持视频文件或多帧图片)</li><li>IMG_COMP: 图片理解(单帧图片)</li></ul>
|
|
6931
|
+
:type ServiceType: str
|
|
6932
|
+
:param _ChannelId: <p>通道 ID</p><p>默认值:0</p>
|
|
6933
|
+
:type ChannelId: int
|
|
6934
|
+
:param _CallbackId: <p>回调目标 ID</p>
|
|
6935
|
+
:type CallbackId: str
|
|
6936
|
+
:param _ComprehensionConfig: <p>视觉理解配置项</p>
|
|
6937
|
+
:type ComprehensionConfig: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionConfig`
|
|
6938
|
+
:param _CustomId: <p>自定义事件 ID,会透传到任务元数据与回调中</p>
|
|
6939
|
+
:type CustomId: str
|
|
6940
|
+
:param _DurationSeconds: <p>临时密钥有效期,单位:秒。默认 300 秒,取值范围 5 到 86400。</p>
|
|
6941
|
+
:type DurationSeconds: int
|
|
6942
|
+
:param _MaxInvokeCount: <p>该直传凭据最多可触发的分析次数</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
|
|
6943
|
+
:type MaxInvokeCount: int
|
|
6944
|
+
:param _StorageRegion: <p>上传 COS 存储桶所在地域。不填时使用默认地域。</p>
|
|
6945
|
+
:type StorageRegion: str
|
|
6946
|
+
:param _UploadMethod: <p>上传方式</p><p>枚举值:</p><ul><li>single: 单文件上传</li><li>manifest: 上传源文件与 Manifest(先上传多个源文件,然后上传 Manifest JSON 触发分析)</li></ul><p>默认值:single</p>
|
|
6947
|
+
:type UploadMethod: str
|
|
6948
|
+
"""
|
|
6949
|
+
self._ProductId = None
|
|
6950
|
+
self._DeviceName = None
|
|
6951
|
+
self._ServiceType = None
|
|
6952
|
+
self._ChannelId = None
|
|
6953
|
+
self._CallbackId = None
|
|
6954
|
+
self._ComprehensionConfig = None
|
|
6955
|
+
self._CustomId = None
|
|
6956
|
+
self._DurationSeconds = None
|
|
6957
|
+
self._MaxInvokeCount = None
|
|
6958
|
+
self._StorageRegion = None
|
|
6959
|
+
self._UploadMethod = None
|
|
6960
|
+
|
|
6961
|
+
@property
|
|
6962
|
+
def ProductId(self):
|
|
6963
|
+
r"""<p>产品 ID</p><p>非 IoT 设备可传 <code>default</code></p>
|
|
6964
|
+
:rtype: str
|
|
6965
|
+
"""
|
|
6966
|
+
return self._ProductId
|
|
6967
|
+
|
|
6968
|
+
@ProductId.setter
|
|
6969
|
+
def ProductId(self, ProductId):
|
|
6970
|
+
self._ProductId = ProductId
|
|
6971
|
+
|
|
6972
|
+
@property
|
|
6973
|
+
def DeviceName(self):
|
|
6974
|
+
r"""<p>设备名称</p>
|
|
6975
|
+
:rtype: str
|
|
6976
|
+
"""
|
|
6977
|
+
return self._DeviceName
|
|
6978
|
+
|
|
6979
|
+
@DeviceName.setter
|
|
6980
|
+
def DeviceName(self, DeviceName):
|
|
6981
|
+
self._DeviceName = DeviceName
|
|
6982
|
+
|
|
6983
|
+
@property
|
|
6984
|
+
def ServiceType(self):
|
|
6985
|
+
r"""<p>算法类型</p><p>枚举值:</p><ul><li>VID_COMP: 视频理解(支持视频文件或多帧图片)</li><li>IMG_COMP: 图片理解(单帧图片)</li></ul>
|
|
6986
|
+
:rtype: str
|
|
6987
|
+
"""
|
|
6988
|
+
return self._ServiceType
|
|
6989
|
+
|
|
6990
|
+
@ServiceType.setter
|
|
6991
|
+
def ServiceType(self, ServiceType):
|
|
6992
|
+
self._ServiceType = ServiceType
|
|
6993
|
+
|
|
6994
|
+
@property
|
|
6995
|
+
def ChannelId(self):
|
|
6996
|
+
r"""<p>通道 ID</p><p>默认值:0</p>
|
|
6997
|
+
:rtype: int
|
|
6998
|
+
"""
|
|
6999
|
+
return self._ChannelId
|
|
7000
|
+
|
|
7001
|
+
@ChannelId.setter
|
|
7002
|
+
def ChannelId(self, ChannelId):
|
|
7003
|
+
self._ChannelId = ChannelId
|
|
7004
|
+
|
|
7005
|
+
@property
|
|
7006
|
+
def CallbackId(self):
|
|
7007
|
+
r"""<p>回调目标 ID</p>
|
|
7008
|
+
:rtype: str
|
|
7009
|
+
"""
|
|
7010
|
+
return self._CallbackId
|
|
7011
|
+
|
|
7012
|
+
@CallbackId.setter
|
|
7013
|
+
def CallbackId(self, CallbackId):
|
|
7014
|
+
self._CallbackId = CallbackId
|
|
7015
|
+
|
|
7016
|
+
@property
|
|
7017
|
+
def ComprehensionConfig(self):
|
|
7018
|
+
r"""<p>视觉理解配置项</p>
|
|
7019
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionConfig`
|
|
7020
|
+
"""
|
|
7021
|
+
return self._ComprehensionConfig
|
|
7022
|
+
|
|
7023
|
+
@ComprehensionConfig.setter
|
|
7024
|
+
def ComprehensionConfig(self, ComprehensionConfig):
|
|
7025
|
+
self._ComprehensionConfig = ComprehensionConfig
|
|
7026
|
+
|
|
7027
|
+
@property
|
|
7028
|
+
def CustomId(self):
|
|
7029
|
+
r"""<p>自定义事件 ID,会透传到任务元数据与回调中</p>
|
|
7030
|
+
:rtype: str
|
|
7031
|
+
"""
|
|
7032
|
+
return self._CustomId
|
|
7033
|
+
|
|
7034
|
+
@CustomId.setter
|
|
7035
|
+
def CustomId(self, CustomId):
|
|
7036
|
+
self._CustomId = CustomId
|
|
7037
|
+
|
|
7038
|
+
@property
|
|
7039
|
+
def DurationSeconds(self):
|
|
7040
|
+
r"""<p>临时密钥有效期,单位:秒。默认 300 秒,取值范围 5 到 86400。</p>
|
|
7041
|
+
:rtype: int
|
|
7042
|
+
"""
|
|
7043
|
+
return self._DurationSeconds
|
|
7044
|
+
|
|
7045
|
+
@DurationSeconds.setter
|
|
7046
|
+
def DurationSeconds(self, DurationSeconds):
|
|
7047
|
+
self._DurationSeconds = DurationSeconds
|
|
7048
|
+
|
|
7049
|
+
@property
|
|
7050
|
+
def MaxInvokeCount(self):
|
|
7051
|
+
r"""<p>该直传凭据最多可触发的分析次数</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
|
|
7052
|
+
:rtype: int
|
|
7053
|
+
"""
|
|
7054
|
+
return self._MaxInvokeCount
|
|
7055
|
+
|
|
7056
|
+
@MaxInvokeCount.setter
|
|
7057
|
+
def MaxInvokeCount(self, MaxInvokeCount):
|
|
7058
|
+
self._MaxInvokeCount = MaxInvokeCount
|
|
7059
|
+
|
|
7060
|
+
@property
|
|
7061
|
+
def StorageRegion(self):
|
|
7062
|
+
r"""<p>上传 COS 存储桶所在地域。不填时使用默认地域。</p>
|
|
7063
|
+
:rtype: str
|
|
7064
|
+
"""
|
|
7065
|
+
return self._StorageRegion
|
|
7066
|
+
|
|
7067
|
+
@StorageRegion.setter
|
|
7068
|
+
def StorageRegion(self, StorageRegion):
|
|
7069
|
+
self._StorageRegion = StorageRegion
|
|
7070
|
+
|
|
7071
|
+
@property
|
|
7072
|
+
def UploadMethod(self):
|
|
7073
|
+
r"""<p>上传方式</p><p>枚举值:</p><ul><li>single: 单文件上传</li><li>manifest: 上传源文件与 Manifest(先上传多个源文件,然后上传 Manifest JSON 触发分析)</li></ul><p>默认值:single</p>
|
|
7074
|
+
:rtype: str
|
|
7075
|
+
"""
|
|
7076
|
+
return self._UploadMethod
|
|
7077
|
+
|
|
7078
|
+
@UploadMethod.setter
|
|
7079
|
+
def UploadMethod(self, UploadMethod):
|
|
7080
|
+
self._UploadMethod = UploadMethod
|
|
7081
|
+
|
|
7082
|
+
|
|
7083
|
+
def _deserialize(self, params):
|
|
7084
|
+
self._ProductId = params.get("ProductId")
|
|
7085
|
+
self._DeviceName = params.get("DeviceName")
|
|
7086
|
+
self._ServiceType = params.get("ServiceType")
|
|
7087
|
+
self._ChannelId = params.get("ChannelId")
|
|
7088
|
+
self._CallbackId = params.get("CallbackId")
|
|
7089
|
+
if params.get("ComprehensionConfig") is not None:
|
|
7090
|
+
self._ComprehensionConfig = SeeComprehensionConfig()
|
|
7091
|
+
self._ComprehensionConfig._deserialize(params.get("ComprehensionConfig"))
|
|
7092
|
+
self._CustomId = params.get("CustomId")
|
|
7093
|
+
self._DurationSeconds = params.get("DurationSeconds")
|
|
7094
|
+
self._MaxInvokeCount = params.get("MaxInvokeCount")
|
|
7095
|
+
self._StorageRegion = params.get("StorageRegion")
|
|
7096
|
+
self._UploadMethod = params.get("UploadMethod")
|
|
7097
|
+
memeber_set = set(params.keys())
|
|
7098
|
+
for name, value in vars(self).items():
|
|
7099
|
+
property_name = name[1:]
|
|
7100
|
+
if property_name in memeber_set:
|
|
7101
|
+
memeber_set.remove(property_name)
|
|
7102
|
+
if len(memeber_set) > 0:
|
|
7103
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7104
|
+
|
|
7105
|
+
|
|
7106
|
+
|
|
7107
|
+
class CreateTWeSeeDirectUploadCredentialResponse(AbstractModel):
|
|
7108
|
+
r"""CreateTWeSeeDirectUploadCredential返回参数结构体
|
|
7109
|
+
|
|
7110
|
+
"""
|
|
7111
|
+
|
|
7112
|
+
def __init__(self):
|
|
7113
|
+
r"""
|
|
7114
|
+
:param _ExpiredTime: <p>访问 COS 的临时密钥过期时间(秒级 UNIX 时间戳)</p>
|
|
7115
|
+
:type ExpiredTime: int
|
|
7116
|
+
:param _SecretId: <p>访问 COS 的临时密钥 SecretId</p>
|
|
7117
|
+
:type SecretId: str
|
|
7118
|
+
:param _SecretKey: <p>访问 COS 的临时密钥 SecretKey</p>
|
|
7119
|
+
:type SecretKey: str
|
|
7120
|
+
:param _StorageBucket: <p>COS 存储桶名称</p>
|
|
7121
|
+
:type StorageBucket: str
|
|
7122
|
+
:param _StoragePath: <p>COS 对象 Key 前缀。返回的临时凭据仅允许上传到此前缀下,格式为 Direct/{Uin}/{SessionId}/。</p>
|
|
7123
|
+
:type StoragePath: str
|
|
7124
|
+
:param _StorageRegion: <p>COS 存储桶所在地域</p>
|
|
7125
|
+
:type StorageRegion: str
|
|
7126
|
+
:param _Token: <p>访问 COS 的临时密钥 Token</p>
|
|
7127
|
+
:type Token: str
|
|
7128
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7129
|
+
:type RequestId: str
|
|
7130
|
+
"""
|
|
7131
|
+
self._ExpiredTime = None
|
|
7132
|
+
self._SecretId = None
|
|
7133
|
+
self._SecretKey = None
|
|
7134
|
+
self._StorageBucket = None
|
|
7135
|
+
self._StoragePath = None
|
|
7136
|
+
self._StorageRegion = None
|
|
7137
|
+
self._Token = None
|
|
7138
|
+
self._RequestId = None
|
|
7139
|
+
|
|
7140
|
+
@property
|
|
7141
|
+
def ExpiredTime(self):
|
|
7142
|
+
r"""<p>访问 COS 的临时密钥过期时间(秒级 UNIX 时间戳)</p>
|
|
7143
|
+
:rtype: int
|
|
7144
|
+
"""
|
|
7145
|
+
return self._ExpiredTime
|
|
7146
|
+
|
|
7147
|
+
@ExpiredTime.setter
|
|
7148
|
+
def ExpiredTime(self, ExpiredTime):
|
|
7149
|
+
self._ExpiredTime = ExpiredTime
|
|
7150
|
+
|
|
7151
|
+
@property
|
|
7152
|
+
def SecretId(self):
|
|
7153
|
+
r"""<p>访问 COS 的临时密钥 SecretId</p>
|
|
7154
|
+
:rtype: str
|
|
7155
|
+
"""
|
|
7156
|
+
return self._SecretId
|
|
7157
|
+
|
|
7158
|
+
@SecretId.setter
|
|
7159
|
+
def SecretId(self, SecretId):
|
|
7160
|
+
self._SecretId = SecretId
|
|
7161
|
+
|
|
7162
|
+
@property
|
|
7163
|
+
def SecretKey(self):
|
|
7164
|
+
r"""<p>访问 COS 的临时密钥 SecretKey</p>
|
|
7165
|
+
:rtype: str
|
|
7166
|
+
"""
|
|
7167
|
+
return self._SecretKey
|
|
7168
|
+
|
|
7169
|
+
@SecretKey.setter
|
|
7170
|
+
def SecretKey(self, SecretKey):
|
|
7171
|
+
self._SecretKey = SecretKey
|
|
7172
|
+
|
|
7173
|
+
@property
|
|
7174
|
+
def StorageBucket(self):
|
|
7175
|
+
r"""<p>COS 存储桶名称</p>
|
|
7176
|
+
:rtype: str
|
|
7177
|
+
"""
|
|
7178
|
+
return self._StorageBucket
|
|
7179
|
+
|
|
7180
|
+
@StorageBucket.setter
|
|
7181
|
+
def StorageBucket(self, StorageBucket):
|
|
7182
|
+
self._StorageBucket = StorageBucket
|
|
7183
|
+
|
|
7184
|
+
@property
|
|
7185
|
+
def StoragePath(self):
|
|
7186
|
+
r"""<p>COS 对象 Key 前缀。返回的临时凭据仅允许上传到此前缀下,格式为 Direct/{Uin}/{SessionId}/。</p>
|
|
7187
|
+
:rtype: str
|
|
7188
|
+
"""
|
|
7189
|
+
return self._StoragePath
|
|
7190
|
+
|
|
7191
|
+
@StoragePath.setter
|
|
7192
|
+
def StoragePath(self, StoragePath):
|
|
7193
|
+
self._StoragePath = StoragePath
|
|
7194
|
+
|
|
7195
|
+
@property
|
|
7196
|
+
def StorageRegion(self):
|
|
7197
|
+
r"""<p>COS 存储桶所在地域</p>
|
|
7198
|
+
:rtype: str
|
|
7199
|
+
"""
|
|
7200
|
+
return self._StorageRegion
|
|
7201
|
+
|
|
7202
|
+
@StorageRegion.setter
|
|
7203
|
+
def StorageRegion(self, StorageRegion):
|
|
7204
|
+
self._StorageRegion = StorageRegion
|
|
7205
|
+
|
|
7206
|
+
@property
|
|
7207
|
+
def Token(self):
|
|
7208
|
+
r"""<p>访问 COS 的临时密钥 Token</p>
|
|
7209
|
+
:rtype: str
|
|
7210
|
+
"""
|
|
7211
|
+
return self._Token
|
|
7212
|
+
|
|
7213
|
+
@Token.setter
|
|
7214
|
+
def Token(self, Token):
|
|
7215
|
+
self._Token = Token
|
|
7216
|
+
|
|
7217
|
+
@property
|
|
7218
|
+
def RequestId(self):
|
|
7219
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7220
|
+
:rtype: str
|
|
7221
|
+
"""
|
|
7222
|
+
return self._RequestId
|
|
7223
|
+
|
|
7224
|
+
@RequestId.setter
|
|
7225
|
+
def RequestId(self, RequestId):
|
|
7226
|
+
self._RequestId = RequestId
|
|
7227
|
+
|
|
7228
|
+
|
|
7229
|
+
def _deserialize(self, params):
|
|
7230
|
+
self._ExpiredTime = params.get("ExpiredTime")
|
|
7231
|
+
self._SecretId = params.get("SecretId")
|
|
7232
|
+
self._SecretKey = params.get("SecretKey")
|
|
7233
|
+
self._StorageBucket = params.get("StorageBucket")
|
|
7234
|
+
self._StoragePath = params.get("StoragePath")
|
|
7235
|
+
self._StorageRegion = params.get("StorageRegion")
|
|
7236
|
+
self._Token = params.get("Token")
|
|
7237
|
+
self._RequestId = params.get("RequestId")
|
|
7238
|
+
|
|
7239
|
+
|
|
6919
7240
|
class CreateTWeSeePostPaidServiceRequest(AbstractModel):
|
|
6920
7241
|
r"""CreateTWeSeePostPaidService请求参数结构体
|
|
6921
7242
|
|
|
@@ -27164,6 +27485,8 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27164
27485
|
:type VectorSearchTopK: int
|
|
27165
27486
|
:param _Order: <p>搜索结果的排序方式,可选值:</p><ul><li><code>CORRELATION</code>:按相关性(默认)</li><li><code>TIME_ASC</code>:按时间升序</li><li><code>TIME_DESC</code>:按时间降序</li></ul>
|
|
27166
27487
|
:type Order: str
|
|
27488
|
+
:param _WithTaskInfo: <p>是否输出原始任务信息</p>
|
|
27489
|
+
:type WithTaskInfo: bool
|
|
27167
27490
|
"""
|
|
27168
27491
|
self._ProductId = None
|
|
27169
27492
|
self._DeviceName = None
|
|
@@ -27179,6 +27502,7 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27179
27502
|
self._VectorSearchRadius = None
|
|
27180
27503
|
self._VectorSearchTopK = None
|
|
27181
27504
|
self._Order = None
|
|
27505
|
+
self._WithTaskInfo = None
|
|
27182
27506
|
|
|
27183
27507
|
@property
|
|
27184
27508
|
def ProductId(self):
|
|
@@ -27334,6 +27658,17 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27334
27658
|
def Order(self, Order):
|
|
27335
27659
|
self._Order = Order
|
|
27336
27660
|
|
|
27661
|
+
@property
|
|
27662
|
+
def WithTaskInfo(self):
|
|
27663
|
+
r"""<p>是否输出原始任务信息</p>
|
|
27664
|
+
:rtype: bool
|
|
27665
|
+
"""
|
|
27666
|
+
return self._WithTaskInfo
|
|
27667
|
+
|
|
27668
|
+
@WithTaskInfo.setter
|
|
27669
|
+
def WithTaskInfo(self, WithTaskInfo):
|
|
27670
|
+
self._WithTaskInfo = WithTaskInfo
|
|
27671
|
+
|
|
27337
27672
|
|
|
27338
27673
|
def _deserialize(self, params):
|
|
27339
27674
|
self._ProductId = params.get("ProductId")
|
|
@@ -27350,6 +27685,7 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27350
27685
|
self._VectorSearchRadius = params.get("VectorSearchRadius")
|
|
27351
27686
|
self._VectorSearchTopK = params.get("VectorSearchTopK")
|
|
27352
27687
|
self._Order = params.get("Order")
|
|
27688
|
+
self._WithTaskInfo = params.get("WithTaskInfo")
|
|
27353
27689
|
memeber_set = set(params.keys())
|
|
27354
27690
|
for name, value in vars(self).items():
|
|
27355
27691
|
property_name = name[1:]
|
|
@@ -38380,7 +38716,7 @@ class SeeComprehensionConfig(AbstractModel):
|
|
|
38380
38716
|
|
|
38381
38717
|
def __init__(self):
|
|
38382
38718
|
r"""
|
|
38383
|
-
:param _DetectTypes: <p
|
|
38719
|
+
:param _DetectTypes: <p>拓展的目标及事件检测类别<br>枚举值:</p><ul><li>person:人</li><li>vehicle:车辆</li><li>cat:猫</li><li>dog:狗</li><li>package:快递包裹</li><li>license_plate:车牌</li><li>fire:火焰</li><li>smoke:烟雾</li><li>delivery_man:快递员/外卖员</li><li>pet:有宠物</li><li>pet_scratching_door:宠物挠门</li><li>pet_barking:宠物吠叫</li><li>pet_damaging:宠物损坏家具</li><li>pet_eating:宠物进食</li><li>person_playing_with_pet:人与宠物玩耍</li><li>pet_close_to_camera:宠物靠近摄像头</li><li>animal_lying:有动物躺/趴在地上</li><li>child:有小孩</li><li>child_near_water:小孩靠近水域</li><li>child_falling:小孩摔倒</li><li>child_climbing_window:小孩攀爬室内窗户</li><li>child_entering_kitchen:小孩进入厨房</li><li>child_playing_danger_item:小孩玩危险物品</li><li>child_writing:小孩写作业</li><li>baby:有婴儿</li><li>baby_crying:婴儿哭闹</li><li>baby_dropping:婴儿跌落床铺</li><li>person_holding_baby:有人抱起婴儿</li><li>baby_rolling:婴儿翻滚</li><li>elderly:有老人</li><li>elderly_falling:老人摔倒</li><li>elderly_eating:老人用餐</li><li>elderly_using_stove:老人使用灶具</li><li>vehicle_parking:车辆停靠</li><li>vehicle_entering:车辆进入</li><li>vehicle_exiting:车辆离开</li><li>person_feeding_animal:有人投喂牲畜</li><li>animal_wild_intrusion:野生动物入侵</li><li>throwing_into_water:有人投掷物品</li><li>loitering_near_water:有人岸边逗留</li><li>fishing:有人钓鱼</li><li>net_fishing:有人撒网</li><li>person_carrying_fishing_gear:有人携带渔具</li><li>person_carrying_object:有人搬运物品</li><li>person_taking_goods:有人拿商品</li><li>person_night_moving:夜间有人移动</li><li>crowd:多人聚集</li><li>person_picking_fruit:有人采摘果实</li><li>person_at_cashier:有人在收银台</li><li>person_climbing_fence:有人翻围墙</li><li>person_carrying_bag:有人携带包裹</li><li>person_entering_farm:人员进入农场</li><li>person_entering_store:人员进入店铺</li><li>person_falling:有人跌倒</li><li>staff_absent:员工离岗</li><li>uniform_abnormal:未穿工服</li><li>using_mobile_phone:使用手机</li><li>smoking:有人吸烟</li><li>knife:有人持刀</li><li>gun:有人持枪</li><li>hurt:有人受伤流血</li><li>fight:有人打架</li><li>door_window_open:门窗被开启</li><li>fireworks:有人燃放烟花爆竹</li><li>no_signal:视频画面异常(无信号等)</li><li>camera_angle_abnormal:摄像头角度异常</li><li>person_motionless:有人且其姿势保持静止</li></ul>
|
|
38384
38720
|
:type DetectTypes: list of str
|
|
38385
38721
|
:param _EnableSearch: <p>使该视频 / 图片录入搜索库,后续可进行搜索</p>
|
|
38386
38722
|
:type EnableSearch: bool
|
|
@@ -38390,19 +38726,25 @@ class SeeComprehensionConfig(AbstractModel):
|
|
|
38390
38726
|
:type AlternativeOutputLang: str
|
|
38391
38727
|
:param _MultiCameraLayout: <p>多摄像头布局定义。可选值包括:</p><ul><li><p>单摄(默认值):<code>Single</code></p></li><li><p>双摄(纵向排列)- 全部画面:<code>Vertical,Num=2,Index=0;1</code></p></li><li><p>双摄(纵向排列)- 画面1:<code>Vertical,Num=2,Index=0</code></p></li><li><p>双摄(纵向排列)- 画面2:<code>Vertical,Num=2,Index=1</code></p></li><li><p>三摄(纵向排列)- 全部画面:<code>Vertical,Num=3,Index=0;1;2</code></p></li><li><p>三摄(纵向排列)- 画面1:<code>Vertical,Num=3,Index=0</code></p></li><li><p>三摄(纵向排列)- 画面2:<code>Vertical,Num=3,Index=1</code></p></li><li><p>三摄(纵向排列)- 画面3:<code>Vertical,Num=3,Index=2</code></p></li><li><p>三摄(纵向排列)- 画面1+2:<code>Vertical,Num=3,Index=0;1</code></p></li><li><p>三摄(纵向排列)- 画面1+3:<code>Vertical,Num=3,Index=0;2</code></p></li><li><p>三摄(纵向排列)- 画面2+3:<code>Vertical,Num=3,Index=1;2</code></p></li></ul>
|
|
38392
38728
|
:type MultiCameraLayout: str
|
|
38729
|
+
:param _CustomDetectQueries: <p>自定义检测标签</p>
|
|
38730
|
+
:type CustomDetectQueries: list of VisionCustomDetectQuery
|
|
38393
38731
|
:param _MaxDuration: <p>最大处理的输入视频时长,单位:秒(仅对视频输入生效)</p>
|
|
38394
38732
|
:type MaxDuration: int
|
|
38733
|
+
:param _EnableKeywords: <p>是否生成关键词</p><p>默认值:false</p>
|
|
38734
|
+
:type EnableKeywords: bool
|
|
38395
38735
|
"""
|
|
38396
38736
|
self._DetectTypes = None
|
|
38397
38737
|
self._EnableSearch = None
|
|
38398
38738
|
self._OutputLang = None
|
|
38399
38739
|
self._AlternativeOutputLang = None
|
|
38400
38740
|
self._MultiCameraLayout = None
|
|
38741
|
+
self._CustomDetectQueries = None
|
|
38401
38742
|
self._MaxDuration = None
|
|
38743
|
+
self._EnableKeywords = None
|
|
38402
38744
|
|
|
38403
38745
|
@property
|
|
38404
38746
|
def DetectTypes(self):
|
|
38405
|
-
r"""<p
|
|
38747
|
+
r"""<p>拓展的目标及事件检测类别<br>枚举值:</p><ul><li>person:人</li><li>vehicle:车辆</li><li>cat:猫</li><li>dog:狗</li><li>package:快递包裹</li><li>license_plate:车牌</li><li>fire:火焰</li><li>smoke:烟雾</li><li>delivery_man:快递员/外卖员</li><li>pet:有宠物</li><li>pet_scratching_door:宠物挠门</li><li>pet_barking:宠物吠叫</li><li>pet_damaging:宠物损坏家具</li><li>pet_eating:宠物进食</li><li>person_playing_with_pet:人与宠物玩耍</li><li>pet_close_to_camera:宠物靠近摄像头</li><li>animal_lying:有动物躺/趴在地上</li><li>child:有小孩</li><li>child_near_water:小孩靠近水域</li><li>child_falling:小孩摔倒</li><li>child_climbing_window:小孩攀爬室内窗户</li><li>child_entering_kitchen:小孩进入厨房</li><li>child_playing_danger_item:小孩玩危险物品</li><li>child_writing:小孩写作业</li><li>baby:有婴儿</li><li>baby_crying:婴儿哭闹</li><li>baby_dropping:婴儿跌落床铺</li><li>person_holding_baby:有人抱起婴儿</li><li>baby_rolling:婴儿翻滚</li><li>elderly:有老人</li><li>elderly_falling:老人摔倒</li><li>elderly_eating:老人用餐</li><li>elderly_using_stove:老人使用灶具</li><li>vehicle_parking:车辆停靠</li><li>vehicle_entering:车辆进入</li><li>vehicle_exiting:车辆离开</li><li>person_feeding_animal:有人投喂牲畜</li><li>animal_wild_intrusion:野生动物入侵</li><li>throwing_into_water:有人投掷物品</li><li>loitering_near_water:有人岸边逗留</li><li>fishing:有人钓鱼</li><li>net_fishing:有人撒网</li><li>person_carrying_fishing_gear:有人携带渔具</li><li>person_carrying_object:有人搬运物品</li><li>person_taking_goods:有人拿商品</li><li>person_night_moving:夜间有人移动</li><li>crowd:多人聚集</li><li>person_picking_fruit:有人采摘果实</li><li>person_at_cashier:有人在收银台</li><li>person_climbing_fence:有人翻围墙</li><li>person_carrying_bag:有人携带包裹</li><li>person_entering_farm:人员进入农场</li><li>person_entering_store:人员进入店铺</li><li>person_falling:有人跌倒</li><li>staff_absent:员工离岗</li><li>uniform_abnormal:未穿工服</li><li>using_mobile_phone:使用手机</li><li>smoking:有人吸烟</li><li>knife:有人持刀</li><li>gun:有人持枪</li><li>hurt:有人受伤流血</li><li>fight:有人打架</li><li>door_window_open:门窗被开启</li><li>fireworks:有人燃放烟花爆竹</li><li>no_signal:视频画面异常(无信号等)</li><li>camera_angle_abnormal:摄像头角度异常</li><li>person_motionless:有人且其姿势保持静止</li></ul>
|
|
38406
38748
|
:rtype: list of str
|
|
38407
38749
|
"""
|
|
38408
38750
|
return self._DetectTypes
|
|
@@ -38455,6 +38797,17 @@ class SeeComprehensionConfig(AbstractModel):
|
|
|
38455
38797
|
def MultiCameraLayout(self, MultiCameraLayout):
|
|
38456
38798
|
self._MultiCameraLayout = MultiCameraLayout
|
|
38457
38799
|
|
|
38800
|
+
@property
|
|
38801
|
+
def CustomDetectQueries(self):
|
|
38802
|
+
r"""<p>自定义检测标签</p>
|
|
38803
|
+
:rtype: list of VisionCustomDetectQuery
|
|
38804
|
+
"""
|
|
38805
|
+
return self._CustomDetectQueries
|
|
38806
|
+
|
|
38807
|
+
@CustomDetectQueries.setter
|
|
38808
|
+
def CustomDetectQueries(self, CustomDetectQueries):
|
|
38809
|
+
self._CustomDetectQueries = CustomDetectQueries
|
|
38810
|
+
|
|
38458
38811
|
@property
|
|
38459
38812
|
def MaxDuration(self):
|
|
38460
38813
|
r"""<p>最大处理的输入视频时长,单位:秒(仅对视频输入生效)</p>
|
|
@@ -38466,6 +38819,17 @@ class SeeComprehensionConfig(AbstractModel):
|
|
|
38466
38819
|
def MaxDuration(self, MaxDuration):
|
|
38467
38820
|
self._MaxDuration = MaxDuration
|
|
38468
38821
|
|
|
38822
|
+
@property
|
|
38823
|
+
def EnableKeywords(self):
|
|
38824
|
+
r"""<p>是否生成关键词</p><p>默认值:false</p>
|
|
38825
|
+
:rtype: bool
|
|
38826
|
+
"""
|
|
38827
|
+
return self._EnableKeywords
|
|
38828
|
+
|
|
38829
|
+
@EnableKeywords.setter
|
|
38830
|
+
def EnableKeywords(self, EnableKeywords):
|
|
38831
|
+
self._EnableKeywords = EnableKeywords
|
|
38832
|
+
|
|
38469
38833
|
|
|
38470
38834
|
def _deserialize(self, params):
|
|
38471
38835
|
self._DetectTypes = params.get("DetectTypes")
|
|
@@ -38473,7 +38837,14 @@ class SeeComprehensionConfig(AbstractModel):
|
|
|
38473
38837
|
self._OutputLang = params.get("OutputLang")
|
|
38474
38838
|
self._AlternativeOutputLang = params.get("AlternativeOutputLang")
|
|
38475
38839
|
self._MultiCameraLayout = params.get("MultiCameraLayout")
|
|
38840
|
+
if params.get("CustomDetectQueries") is not None:
|
|
38841
|
+
self._CustomDetectQueries = []
|
|
38842
|
+
for item in params.get("CustomDetectQueries"):
|
|
38843
|
+
obj = VisionCustomDetectQuery()
|
|
38844
|
+
obj._deserialize(item)
|
|
38845
|
+
self._CustomDetectQueries.append(obj)
|
|
38476
38846
|
self._MaxDuration = params.get("MaxDuration")
|
|
38847
|
+
self._EnableKeywords = params.get("EnableKeywords")
|
|
38477
38848
|
memeber_set = set(params.keys())
|
|
38478
38849
|
for name, value in vars(self).items():
|
|
38479
38850
|
property_name = name[1:]
|
|
@@ -38491,47 +38862,29 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38491
38862
|
|
|
38492
38863
|
def __init__(self):
|
|
38493
38864
|
r"""
|
|
38494
|
-
:param _DetectedClassifications:
|
|
38495
|
-
|
|
38496
|
-
- `person`:人
|
|
38497
|
-
- `vehicle`:车辆
|
|
38498
|
-
- `dog`:狗
|
|
38499
|
-
- `cat`:猫
|
|
38500
|
-
- `fire`:火焰
|
|
38501
|
-
- `smoke`:烟雾
|
|
38502
|
-
- `package`:快递包裹
|
|
38503
|
-
- `license_plate`:车牌
|
|
38865
|
+
:param _DetectedClassifications: <p>识别到的目标类型与事件标签。<br>枚举值:</p><ul><li>person:人</li><li>vehicle:车辆</li><li>cat:猫</li><li>dog:狗</li><li>package:快递包裹</li><li>license_plate:车牌</li><li>fire:火焰</li><li>smoke:烟雾</li><li>delivery_man:快递员/外卖员</li><li>pet:有宠物</li><li>pet_scratching_door:宠物挠门</li><li>pet_barking:宠物吠叫</li><li>pet_damaging:宠物损坏家具</li><li>pet_eating:宠物进食</li><li>person_playing_with_pet:人与宠物玩耍</li><li>pet_close_to_camera:宠物靠近摄像头</li><li>animal_lying:有动物躺/趴在地上</li><li>child:有小孩</li><li>child_near_water:小孩靠近水域</li><li>child_falling:小孩摔倒</li><li>child_climbing_window:小孩攀爬室内窗户</li><li>child_entering_kitchen:小孩进入厨房</li><li>child_playing_danger_item:小孩玩危险物品</li><li>child_writing:小孩写作业</li><li>baby:有婴儿</li><li>baby_crying:婴儿哭闹</li><li>baby_dropping:婴儿跌落床铺</li><li>person_holding_baby:有人抱起婴儿</li><li>baby_rolling:婴儿翻滚</li><li>elderly:有老人</li><li>elderly_falling:老人摔倒</li><li>elderly_eating:老人用餐</li><li>elderly_using_stove:老人使用灶具</li><li>vehicle_parking:车辆停靠</li><li>vehicle_entering:车辆进入</li><li>vehicle_exiting:车辆离开</li><li>person_feeding_animal:有人投喂牲畜</li><li>animal_wild_intrusion:野生动物入侵</li><li>throwing_into_water:有人投掷物品</li><li>loitering_near_water:有人岸边逗留</li><li>fishing:有人钓鱼</li><li>net_fishing:有人撒网</li><li>person_carrying_fishing_gear:有人携带渔具</li><li>person_carrying_object:有人搬运物品</li><li>person_taking_goods:有人拿商品</li><li>person_night_moving:夜间有人移动</li><li>crowd:多人聚集</li><li>person_picking_fruit:有人采摘果实</li><li>person_at_cashier:有人在收银台</li><li>person_climbing_fence:有人翻围墙</li><li>person_carrying_bag:有人携带包裹</li><li>person_entering_farm:人员进入农场</li><li>person_entering_store:人员进入店铺</li><li>person_falling:有人跌倒</li><li>staff_absent:员工离岗</li><li>uniform_abnormal:未穿工服</li><li>using_mobile_phone:使用手机</li><li>smoking:有人吸烟</li><li>knife:有人持刀</li><li>gun:有人持枪</li><li>hurt:有人受伤流血</li><li>fight:有人打架</li><li>door_window_open:门窗被开启</li><li>fireworks:有人燃放烟花爆竹</li><li>no_signal:视频画面异常(无信号等)</li><li>camera_angle_abnormal:摄像头角度异常</li><li>person_motionless:有人且其姿势保持静止</li></ul>
|
|
38504
38866
|
:type DetectedClassifications: list of str
|
|
38505
|
-
:param _Summary:
|
|
38867
|
+
:param _Summary: <p>摘要文本</p>
|
|
38506
38868
|
:type Summary: str
|
|
38507
|
-
:param _AlternativeSummary:
|
|
38869
|
+
:param _AlternativeSummary: <p>摘要文本(次选语言)</p>
|
|
38508
38870
|
:type AlternativeSummary: str
|
|
38509
|
-
:param _ErrorCode:
|
|
38510
|
-
|
|
38511
|
-
- `DownloadFailed`:下载视频/图片文件失败
|
|
38512
|
-
- `ReadFailed`:读取视频/图片文件失败
|
|
38871
|
+
:param _ErrorCode: <p>错误码,可能取值:</p><ul><li><code>DownloadFailed</code>:下载视频/图片文件失败</li><li><code>ReadFailed</code>:读取视频/图片文件失败</li></ul>
|
|
38513
38872
|
:type ErrorCode: str
|
|
38514
|
-
:param _ErrorMsg:
|
|
38873
|
+
:param _ErrorMsg: <p>错误消息</p>
|
|
38515
38874
|
:type ErrorMsg: str
|
|
38875
|
+
:param _Keywords: <p>生成的关键词列表</p><p>当配置 <code>EnableKeywords</code> 为 true 时返回</p>
|
|
38876
|
+
:type Keywords: list of str
|
|
38516
38877
|
"""
|
|
38517
38878
|
self._DetectedClassifications = None
|
|
38518
38879
|
self._Summary = None
|
|
38519
38880
|
self._AlternativeSummary = None
|
|
38520
38881
|
self._ErrorCode = None
|
|
38521
38882
|
self._ErrorMsg = None
|
|
38883
|
+
self._Keywords = None
|
|
38522
38884
|
|
|
38523
38885
|
@property
|
|
38524
38886
|
def DetectedClassifications(self):
|
|
38525
|
-
r"""
|
|
38526
|
-
|
|
38527
|
-
- `person`:人
|
|
38528
|
-
- `vehicle`:车辆
|
|
38529
|
-
- `dog`:狗
|
|
38530
|
-
- `cat`:猫
|
|
38531
|
-
- `fire`:火焰
|
|
38532
|
-
- `smoke`:烟雾
|
|
38533
|
-
- `package`:快递包裹
|
|
38534
|
-
- `license_plate`:车牌
|
|
38887
|
+
r"""<p>识别到的目标类型与事件标签。<br>枚举值:</p><ul><li>person:人</li><li>vehicle:车辆</li><li>cat:猫</li><li>dog:狗</li><li>package:快递包裹</li><li>license_plate:车牌</li><li>fire:火焰</li><li>smoke:烟雾</li><li>delivery_man:快递员/外卖员</li><li>pet:有宠物</li><li>pet_scratching_door:宠物挠门</li><li>pet_barking:宠物吠叫</li><li>pet_damaging:宠物损坏家具</li><li>pet_eating:宠物进食</li><li>person_playing_with_pet:人与宠物玩耍</li><li>pet_close_to_camera:宠物靠近摄像头</li><li>animal_lying:有动物躺/趴在地上</li><li>child:有小孩</li><li>child_near_water:小孩靠近水域</li><li>child_falling:小孩摔倒</li><li>child_climbing_window:小孩攀爬室内窗户</li><li>child_entering_kitchen:小孩进入厨房</li><li>child_playing_danger_item:小孩玩危险物品</li><li>child_writing:小孩写作业</li><li>baby:有婴儿</li><li>baby_crying:婴儿哭闹</li><li>baby_dropping:婴儿跌落床铺</li><li>person_holding_baby:有人抱起婴儿</li><li>baby_rolling:婴儿翻滚</li><li>elderly:有老人</li><li>elderly_falling:老人摔倒</li><li>elderly_eating:老人用餐</li><li>elderly_using_stove:老人使用灶具</li><li>vehicle_parking:车辆停靠</li><li>vehicle_entering:车辆进入</li><li>vehicle_exiting:车辆离开</li><li>person_feeding_animal:有人投喂牲畜</li><li>animal_wild_intrusion:野生动物入侵</li><li>throwing_into_water:有人投掷物品</li><li>loitering_near_water:有人岸边逗留</li><li>fishing:有人钓鱼</li><li>net_fishing:有人撒网</li><li>person_carrying_fishing_gear:有人携带渔具</li><li>person_carrying_object:有人搬运物品</li><li>person_taking_goods:有人拿商品</li><li>person_night_moving:夜间有人移动</li><li>crowd:多人聚集</li><li>person_picking_fruit:有人采摘果实</li><li>person_at_cashier:有人在收银台</li><li>person_climbing_fence:有人翻围墙</li><li>person_carrying_bag:有人携带包裹</li><li>person_entering_farm:人员进入农场</li><li>person_entering_store:人员进入店铺</li><li>person_falling:有人跌倒</li><li>staff_absent:员工离岗</li><li>uniform_abnormal:未穿工服</li><li>using_mobile_phone:使用手机</li><li>smoking:有人吸烟</li><li>knife:有人持刀</li><li>gun:有人持枪</li><li>hurt:有人受伤流血</li><li>fight:有人打架</li><li>door_window_open:门窗被开启</li><li>fireworks:有人燃放烟花爆竹</li><li>no_signal:视频画面异常(无信号等)</li><li>camera_angle_abnormal:摄像头角度异常</li><li>person_motionless:有人且其姿势保持静止</li></ul>
|
|
38535
38888
|
:rtype: list of str
|
|
38536
38889
|
"""
|
|
38537
38890
|
return self._DetectedClassifications
|
|
@@ -38542,7 +38895,7 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38542
38895
|
|
|
38543
38896
|
@property
|
|
38544
38897
|
def Summary(self):
|
|
38545
|
-
r"""
|
|
38898
|
+
r"""<p>摘要文本</p>
|
|
38546
38899
|
:rtype: str
|
|
38547
38900
|
"""
|
|
38548
38901
|
return self._Summary
|
|
@@ -38553,7 +38906,7 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38553
38906
|
|
|
38554
38907
|
@property
|
|
38555
38908
|
def AlternativeSummary(self):
|
|
38556
|
-
r"""
|
|
38909
|
+
r"""<p>摘要文本(次选语言)</p>
|
|
38557
38910
|
:rtype: str
|
|
38558
38911
|
"""
|
|
38559
38912
|
return self._AlternativeSummary
|
|
@@ -38564,10 +38917,7 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38564
38917
|
|
|
38565
38918
|
@property
|
|
38566
38919
|
def ErrorCode(self):
|
|
38567
|
-
r"""
|
|
38568
|
-
|
|
38569
|
-
- `DownloadFailed`:下载视频/图片文件失败
|
|
38570
|
-
- `ReadFailed`:读取视频/图片文件失败
|
|
38920
|
+
r"""<p>错误码,可能取值:</p><ul><li><code>DownloadFailed</code>:下载视频/图片文件失败</li><li><code>ReadFailed</code>:读取视频/图片文件失败</li></ul>
|
|
38571
38921
|
:rtype: str
|
|
38572
38922
|
"""
|
|
38573
38923
|
return self._ErrorCode
|
|
@@ -38578,7 +38928,7 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38578
38928
|
|
|
38579
38929
|
@property
|
|
38580
38930
|
def ErrorMsg(self):
|
|
38581
|
-
r"""
|
|
38931
|
+
r"""<p>错误消息</p>
|
|
38582
38932
|
:rtype: str
|
|
38583
38933
|
"""
|
|
38584
38934
|
return self._ErrorMsg
|
|
@@ -38587,6 +38937,17 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38587
38937
|
def ErrorMsg(self, ErrorMsg):
|
|
38588
38938
|
self._ErrorMsg = ErrorMsg
|
|
38589
38939
|
|
|
38940
|
+
@property
|
|
38941
|
+
def Keywords(self):
|
|
38942
|
+
r"""<p>生成的关键词列表</p><p>当配置 <code>EnableKeywords</code> 为 true 时返回</p>
|
|
38943
|
+
:rtype: list of str
|
|
38944
|
+
"""
|
|
38945
|
+
return self._Keywords
|
|
38946
|
+
|
|
38947
|
+
@Keywords.setter
|
|
38948
|
+
def Keywords(self, Keywords):
|
|
38949
|
+
self._Keywords = Keywords
|
|
38950
|
+
|
|
38590
38951
|
|
|
38591
38952
|
def _deserialize(self, params):
|
|
38592
38953
|
self._DetectedClassifications = params.get("DetectedClassifications")
|
|
@@ -38594,6 +38955,7 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
38594
38955
|
self._AlternativeSummary = params.get("AlternativeSummary")
|
|
38595
38956
|
self._ErrorCode = params.get("ErrorCode")
|
|
38596
38957
|
self._ErrorMsg = params.get("ErrorMsg")
|
|
38958
|
+
self._Keywords = params.get("Keywords")
|
|
38597
38959
|
memeber_set = set(params.keys())
|
|
38598
38960
|
for name, value in vars(self).items():
|
|
38599
38961
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.126
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.115
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|