tencentcloud-sdk-python-iotexplorer 3.1.106__tar.gz → 3.1.112__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.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +47 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +37 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/iotexplorer/v20190423/models.py +230 -214
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.112/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.106/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/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.112
|
|
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.112
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.106 → tencentcloud_sdk_python_iotexplorer-3.1.112}/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.112,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -392,6 +392,9 @@ LIMITEXCEEDED_BINDPRODUCTSEXCEEDLIMIT = 'LimitExceeded.BindProductsExceedLimit'
|
|
|
392
392
|
# 设备数量超过限制。
|
|
393
393
|
LIMITEXCEEDED_DEVICEEXCEEDLIMIT = 'LimitExceeded.DeviceExceedLimit'
|
|
394
394
|
|
|
395
|
+
# 设备激活码数量超限
|
|
396
|
+
LIMITEXCEEDED_DEVICELICENSELIMITEXCEEDED = 'LimitExceeded.DeviceLicenseLimitExceeded'
|
|
397
|
+
|
|
395
398
|
# 固件数量超出限制。
|
|
396
399
|
LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = 'LimitExceeded.FirmwareExceedLimit'
|
|
397
400
|
|
|
@@ -486,8 +486,31 @@ class IotexplorerClient(AbstractClient):
|
|
|
486
486
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
487
|
|
|
488
488
|
|
|
489
|
+
def CreateDevicePublishSDPAnswer(self, request):
|
|
490
|
+
r"""创建设备推流SDP应答,此接口调用前需要先调用CreateDeviceSDPAnswer接口以保证设备处于拉流状态,接口返回是另外一路webrtc推流SDP信息,可以用来进行标准的WHIP推流
|
|
491
|
+
|
|
492
|
+
:param request: Request instance for CreateDevicePublishSDPAnswer.
|
|
493
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDevicePublishSDPAnswerRequest`
|
|
494
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDevicePublishSDPAnswerResponse`
|
|
495
|
+
|
|
496
|
+
"""
|
|
497
|
+
try:
|
|
498
|
+
params = request._serialize()
|
|
499
|
+
headers = request.headers
|
|
500
|
+
body = self.call("CreateDevicePublishSDPAnswer", params, headers=headers)
|
|
501
|
+
response = json.loads(body)
|
|
502
|
+
model = models.CreateDevicePublishSDPAnswerResponse()
|
|
503
|
+
model._deserialize(response["Response"])
|
|
504
|
+
return model
|
|
505
|
+
except Exception as e:
|
|
506
|
+
if isinstance(e, TencentCloudSDKException):
|
|
507
|
+
raise
|
|
508
|
+
else:
|
|
509
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
510
|
+
|
|
511
|
+
|
|
489
512
|
def CreateDeviceSDPAnswer(self, request):
|
|
490
|
-
r"""创建设备SDP
|
|
513
|
+
r"""创建设备SDP应答,调用此接口后,后台会对传入参数的设备进行拉流,并返回webrtc answer SDP返回,可以进行WHEP协议拉流。
|
|
491
514
|
|
|
492
515
|
:param request: Request instance for CreateDeviceSDPAnswer.
|
|
493
516
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceSDPAnswerRequest`
|
|
@@ -1084,6 +1107,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1084
1107
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1085
1108
|
|
|
1086
1109
|
|
|
1110
|
+
def DeleteDeviceSDP(self, request):
|
|
1111
|
+
r"""删除设备SDP应答,此接口调用是手动结束设备后台推拉流信息,快速响应挂断需求。
|
|
1112
|
+
|
|
1113
|
+
:param request: Request instance for DeleteDeviceSDP.
|
|
1114
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteDeviceSDPRequest`
|
|
1115
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteDeviceSDPResponse`
|
|
1116
|
+
|
|
1117
|
+
"""
|
|
1118
|
+
try:
|
|
1119
|
+
params = request._serialize()
|
|
1120
|
+
headers = request.headers
|
|
1121
|
+
body = self.call("DeleteDeviceSDP", params, headers=headers)
|
|
1122
|
+
response = json.loads(body)
|
|
1123
|
+
model = models.DeleteDeviceSDPResponse()
|
|
1124
|
+
model._deserialize(response["Response"])
|
|
1125
|
+
return model
|
|
1126
|
+
except Exception as e:
|
|
1127
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1128
|
+
raise
|
|
1129
|
+
else:
|
|
1130
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1131
|
+
|
|
1132
|
+
|
|
1087
1133
|
def DeleteDevices(self, request):
|
|
1088
1134
|
r"""批量删除设备
|
|
1089
1135
|
|
|
@@ -385,13 +385,31 @@ class IotexplorerClient(AbstractClient):
|
|
|
385
385
|
|
|
386
386
|
return await self.call_and_deserialize(**kwargs)
|
|
387
387
|
|
|
388
|
+
async def CreateDevicePublishSDPAnswer(
|
|
389
|
+
self,
|
|
390
|
+
request: models.CreateDevicePublishSDPAnswerRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.CreateDevicePublishSDPAnswerResponse:
|
|
393
|
+
"""
|
|
394
|
+
创建设备推流SDP应答,此接口调用前需要先调用CreateDeviceSDPAnswer接口以保证设备处于拉流状态,接口返回是另外一路webrtc推流SDP信息,可以用来进行标准的WHIP推流
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "CreateDevicePublishSDPAnswer"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.CreateDevicePublishSDPAnswerResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
388
406
|
async def CreateDeviceSDPAnswer(
|
|
389
407
|
self,
|
|
390
408
|
request: models.CreateDeviceSDPAnswerRequest,
|
|
391
409
|
opts: Dict = None,
|
|
392
410
|
) -> models.CreateDeviceSDPAnswerResponse:
|
|
393
411
|
"""
|
|
394
|
-
创建设备SDP
|
|
412
|
+
创建设备SDP应答,调用此接口后,后台会对传入参数的设备进行拉流,并返回webrtc answer SDP返回,可以进行WHEP协议拉流。
|
|
395
413
|
"""
|
|
396
414
|
|
|
397
415
|
kwargs = {}
|
|
@@ -853,6 +871,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
853
871
|
|
|
854
872
|
return await self.call_and_deserialize(**kwargs)
|
|
855
873
|
|
|
874
|
+
async def DeleteDeviceSDP(
|
|
875
|
+
self,
|
|
876
|
+
request: models.DeleteDeviceSDPRequest,
|
|
877
|
+
opts: Dict = None,
|
|
878
|
+
) -> models.DeleteDeviceSDPResponse:
|
|
879
|
+
"""
|
|
880
|
+
删除设备SDP应答,此接口调用是手动结束设备后台推拉流信息,快速响应挂断需求。
|
|
881
|
+
"""
|
|
882
|
+
|
|
883
|
+
kwargs = {}
|
|
884
|
+
kwargs["action"] = "DeleteDeviceSDP"
|
|
885
|
+
kwargs["params"] = request._serialize()
|
|
886
|
+
kwargs["resp_cls"] = models.DeleteDeviceSDPResponse
|
|
887
|
+
kwargs["headers"] = request.headers
|
|
888
|
+
kwargs["opts"] = opts or {}
|
|
889
|
+
|
|
890
|
+
return await self.call_and_deserialize(**kwargs)
|
|
891
|
+
|
|
856
892
|
async def DeleteDevices(
|
|
857
893
|
self,
|
|
858
894
|
request: models.DeleteDevicesRequest,
|
|
@@ -4530,6 +4530,115 @@ class CreateDeviceChannelResponse(AbstractModel):
|
|
|
4530
4530
|
self._RequestId = params.get("RequestId")
|
|
4531
4531
|
|
|
4532
4532
|
|
|
4533
|
+
class CreateDevicePublishSDPAnswerRequest(AbstractModel):
|
|
4534
|
+
r"""CreateDevicePublishSDPAnswer请求参数结构体
|
|
4535
|
+
|
|
4536
|
+
"""
|
|
4537
|
+
|
|
4538
|
+
def __init__(self):
|
|
4539
|
+
r"""
|
|
4540
|
+
:param _ProductId: 产品ID
|
|
4541
|
+
:type ProductId: str
|
|
4542
|
+
:param _DeviceName: 设备名称
|
|
4543
|
+
:type DeviceName: str
|
|
4544
|
+
:param _SDPOffer: SDP提议
|
|
4545
|
+
:type SDPOffer: str
|
|
4546
|
+
"""
|
|
4547
|
+
self._ProductId = None
|
|
4548
|
+
self._DeviceName = None
|
|
4549
|
+
self._SDPOffer = None
|
|
4550
|
+
|
|
4551
|
+
@property
|
|
4552
|
+
def ProductId(self):
|
|
4553
|
+
r"""产品ID
|
|
4554
|
+
:rtype: str
|
|
4555
|
+
"""
|
|
4556
|
+
return self._ProductId
|
|
4557
|
+
|
|
4558
|
+
@ProductId.setter
|
|
4559
|
+
def ProductId(self, ProductId):
|
|
4560
|
+
self._ProductId = ProductId
|
|
4561
|
+
|
|
4562
|
+
@property
|
|
4563
|
+
def DeviceName(self):
|
|
4564
|
+
r"""设备名称
|
|
4565
|
+
:rtype: str
|
|
4566
|
+
"""
|
|
4567
|
+
return self._DeviceName
|
|
4568
|
+
|
|
4569
|
+
@DeviceName.setter
|
|
4570
|
+
def DeviceName(self, DeviceName):
|
|
4571
|
+
self._DeviceName = DeviceName
|
|
4572
|
+
|
|
4573
|
+
@property
|
|
4574
|
+
def SDPOffer(self):
|
|
4575
|
+
r"""SDP提议
|
|
4576
|
+
:rtype: str
|
|
4577
|
+
"""
|
|
4578
|
+
return self._SDPOffer
|
|
4579
|
+
|
|
4580
|
+
@SDPOffer.setter
|
|
4581
|
+
def SDPOffer(self, SDPOffer):
|
|
4582
|
+
self._SDPOffer = SDPOffer
|
|
4583
|
+
|
|
4584
|
+
|
|
4585
|
+
def _deserialize(self, params):
|
|
4586
|
+
self._ProductId = params.get("ProductId")
|
|
4587
|
+
self._DeviceName = params.get("DeviceName")
|
|
4588
|
+
self._SDPOffer = params.get("SDPOffer")
|
|
4589
|
+
memeber_set = set(params.keys())
|
|
4590
|
+
for name, value in vars(self).items():
|
|
4591
|
+
property_name = name[1:]
|
|
4592
|
+
if property_name in memeber_set:
|
|
4593
|
+
memeber_set.remove(property_name)
|
|
4594
|
+
if len(memeber_set) > 0:
|
|
4595
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4596
|
+
|
|
4597
|
+
|
|
4598
|
+
|
|
4599
|
+
class CreateDevicePublishSDPAnswerResponse(AbstractModel):
|
|
4600
|
+
r"""CreateDevicePublishSDPAnswer返回参数结构体
|
|
4601
|
+
|
|
4602
|
+
"""
|
|
4603
|
+
|
|
4604
|
+
def __init__(self):
|
|
4605
|
+
r"""
|
|
4606
|
+
:param _SDPAnswer: SDP应答
|
|
4607
|
+
:type SDPAnswer: str
|
|
4608
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4609
|
+
:type RequestId: str
|
|
4610
|
+
"""
|
|
4611
|
+
self._SDPAnswer = None
|
|
4612
|
+
self._RequestId = None
|
|
4613
|
+
|
|
4614
|
+
@property
|
|
4615
|
+
def SDPAnswer(self):
|
|
4616
|
+
r"""SDP应答
|
|
4617
|
+
:rtype: str
|
|
4618
|
+
"""
|
|
4619
|
+
return self._SDPAnswer
|
|
4620
|
+
|
|
4621
|
+
@SDPAnswer.setter
|
|
4622
|
+
def SDPAnswer(self, SDPAnswer):
|
|
4623
|
+
self._SDPAnswer = SDPAnswer
|
|
4624
|
+
|
|
4625
|
+
@property
|
|
4626
|
+
def RequestId(self):
|
|
4627
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4628
|
+
:rtype: str
|
|
4629
|
+
"""
|
|
4630
|
+
return self._RequestId
|
|
4631
|
+
|
|
4632
|
+
@RequestId.setter
|
|
4633
|
+
def RequestId(self, RequestId):
|
|
4634
|
+
self._RequestId = RequestId
|
|
4635
|
+
|
|
4636
|
+
|
|
4637
|
+
def _deserialize(self, params):
|
|
4638
|
+
self._SDPAnswer = params.get("SDPAnswer")
|
|
4639
|
+
self._RequestId = params.get("RequestId")
|
|
4640
|
+
|
|
4641
|
+
|
|
4533
4642
|
class CreateDeviceRequest(AbstractModel):
|
|
4534
4643
|
r"""CreateDevice请求参数结构体
|
|
4535
4644
|
|
|
@@ -4729,10 +4838,13 @@ class CreateDeviceSDPAnswerRequest(AbstractModel):
|
|
|
4729
4838
|
:type DeviceName: str
|
|
4730
4839
|
:param _SDPOffer: SDP提议
|
|
4731
4840
|
:type SDPOffer: str
|
|
4841
|
+
:param _RequesterTag: 客户自定义拉流标识
|
|
4842
|
+
:type RequesterTag: str
|
|
4732
4843
|
"""
|
|
4733
4844
|
self._ProductId = None
|
|
4734
4845
|
self._DeviceName = None
|
|
4735
4846
|
self._SDPOffer = None
|
|
4847
|
+
self._RequesterTag = None
|
|
4736
4848
|
|
|
4737
4849
|
@property
|
|
4738
4850
|
def ProductId(self):
|
|
@@ -4767,11 +4879,23 @@ class CreateDeviceSDPAnswerRequest(AbstractModel):
|
|
|
4767
4879
|
def SDPOffer(self, SDPOffer):
|
|
4768
4880
|
self._SDPOffer = SDPOffer
|
|
4769
4881
|
|
|
4882
|
+
@property
|
|
4883
|
+
def RequesterTag(self):
|
|
4884
|
+
r"""客户自定义拉流标识
|
|
4885
|
+
:rtype: str
|
|
4886
|
+
"""
|
|
4887
|
+
return self._RequesterTag
|
|
4888
|
+
|
|
4889
|
+
@RequesterTag.setter
|
|
4890
|
+
def RequesterTag(self, RequesterTag):
|
|
4891
|
+
self._RequesterTag = RequesterTag
|
|
4892
|
+
|
|
4770
4893
|
|
|
4771
4894
|
def _deserialize(self, params):
|
|
4772
4895
|
self._ProductId = params.get("ProductId")
|
|
4773
4896
|
self._DeviceName = params.get("DeviceName")
|
|
4774
4897
|
self._SDPOffer = params.get("SDPOffer")
|
|
4898
|
+
self._RequesterTag = params.get("RequesterTag")
|
|
4775
4899
|
memeber_set = set(params.keys())
|
|
4776
4900
|
for name, value in vars(self).items():
|
|
4777
4901
|
property_name = name[1:]
|
|
@@ -9266,6 +9390,85 @@ class DeleteDeviceResponse(AbstractModel):
|
|
|
9266
9390
|
self._RequestId = params.get("RequestId")
|
|
9267
9391
|
|
|
9268
9392
|
|
|
9393
|
+
class DeleteDeviceSDPRequest(AbstractModel):
|
|
9394
|
+
r"""DeleteDeviceSDP请求参数结构体
|
|
9395
|
+
|
|
9396
|
+
"""
|
|
9397
|
+
|
|
9398
|
+
def __init__(self):
|
|
9399
|
+
r"""
|
|
9400
|
+
:param _ProductId: 产品ID
|
|
9401
|
+
:type ProductId: str
|
|
9402
|
+
:param _DeviceName: 设备名称
|
|
9403
|
+
:type DeviceName: str
|
|
9404
|
+
"""
|
|
9405
|
+
self._ProductId = None
|
|
9406
|
+
self._DeviceName = None
|
|
9407
|
+
|
|
9408
|
+
@property
|
|
9409
|
+
def ProductId(self):
|
|
9410
|
+
r"""产品ID
|
|
9411
|
+
:rtype: str
|
|
9412
|
+
"""
|
|
9413
|
+
return self._ProductId
|
|
9414
|
+
|
|
9415
|
+
@ProductId.setter
|
|
9416
|
+
def ProductId(self, ProductId):
|
|
9417
|
+
self._ProductId = ProductId
|
|
9418
|
+
|
|
9419
|
+
@property
|
|
9420
|
+
def DeviceName(self):
|
|
9421
|
+
r"""设备名称
|
|
9422
|
+
:rtype: str
|
|
9423
|
+
"""
|
|
9424
|
+
return self._DeviceName
|
|
9425
|
+
|
|
9426
|
+
@DeviceName.setter
|
|
9427
|
+
def DeviceName(self, DeviceName):
|
|
9428
|
+
self._DeviceName = DeviceName
|
|
9429
|
+
|
|
9430
|
+
|
|
9431
|
+
def _deserialize(self, params):
|
|
9432
|
+
self._ProductId = params.get("ProductId")
|
|
9433
|
+
self._DeviceName = params.get("DeviceName")
|
|
9434
|
+
memeber_set = set(params.keys())
|
|
9435
|
+
for name, value in vars(self).items():
|
|
9436
|
+
property_name = name[1:]
|
|
9437
|
+
if property_name in memeber_set:
|
|
9438
|
+
memeber_set.remove(property_name)
|
|
9439
|
+
if len(memeber_set) > 0:
|
|
9440
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9441
|
+
|
|
9442
|
+
|
|
9443
|
+
|
|
9444
|
+
class DeleteDeviceSDPResponse(AbstractModel):
|
|
9445
|
+
r"""DeleteDeviceSDP返回参数结构体
|
|
9446
|
+
|
|
9447
|
+
"""
|
|
9448
|
+
|
|
9449
|
+
def __init__(self):
|
|
9450
|
+
r"""
|
|
9451
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9452
|
+
:type RequestId: str
|
|
9453
|
+
"""
|
|
9454
|
+
self._RequestId = None
|
|
9455
|
+
|
|
9456
|
+
@property
|
|
9457
|
+
def RequestId(self):
|
|
9458
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9459
|
+
:rtype: str
|
|
9460
|
+
"""
|
|
9461
|
+
return self._RequestId
|
|
9462
|
+
|
|
9463
|
+
@RequestId.setter
|
|
9464
|
+
def RequestId(self, RequestId):
|
|
9465
|
+
self._RequestId = RequestId
|
|
9466
|
+
|
|
9467
|
+
|
|
9468
|
+
def _deserialize(self, params):
|
|
9469
|
+
self._RequestId = params.get("RequestId")
|
|
9470
|
+
|
|
9471
|
+
|
|
9269
9472
|
class DeleteDevicesRequest(AbstractModel):
|
|
9270
9473
|
r"""DeleteDevices请求参数结构体
|
|
9271
9474
|
|
|
@@ -44272,119 +44475,20 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44272
44475
|
|
|
44273
44476
|
def __init__(self):
|
|
44274
44477
|
r"""
|
|
44275
|
-
:param _OutputLang:
|
|
44276
|
-
- `zh` 中文(默认值)
|
|
44277
|
-
- `en` 英语
|
|
44278
|
-
- `ja` 日语
|
|
44279
|
-
- `ko` 韩文
|
|
44280
|
-
- `pt-BR` 葡萄牙语(巴西)
|
|
44281
|
-
- `th` 泰语
|
|
44282
|
-
- `ms` 马来语
|
|
44478
|
+
:param _OutputLang: <p>主输出语言,可选值包括:</p><ul><li><code>zh</code> 中文(默认值)</li><li><code>en</code> 英语</li><li><code>ja</code> 日语</li><li><code>ko</code> 韩文</li><li><code>pt-BR</code> 葡萄牙语(巴西)</li><li><code>th</code> 泰语</li><li><code>ms</code> 马来语</li></ul>
|
|
44283
44479
|
:type OutputLang: str
|
|
44284
|
-
:param _AlternativeOutputLang:
|
|
44285
|
-
- `zh` 中文
|
|
44286
|
-
- `en` 英语
|
|
44287
|
-
- `ja` 日语
|
|
44288
|
-
- `ko` 韩文
|
|
44289
|
-
- `pt-BR` 葡萄牙语(巴西)
|
|
44290
|
-
- `th` 泰语
|
|
44291
|
-
- `ms` 马来语
|
|
44292
|
-
|
|
44480
|
+
:param _AlternativeOutputLang: <p>次选输出语言,可选值包括:</p><ul><li><code>zh</code> 中文</li><li><code>en</code> 英语</li><li><code>ja</code> 日语</li><li><code>ko</code> 韩文</li><li><code>pt-BR</code> 葡萄牙语(巴西)</li><li><code>th</code> 泰语</li><li><code>ms</code> 马来语</li></ul>
|
|
44293
44481
|
:type AlternativeOutputLang: str
|
|
44294
|
-
:param _MultiCameraLayout:
|
|
44295
|
-
|
|
44296
|
-
- 单摄(默认值):`Single`
|
|
44297
|
-
|
|
44298
|
-
- 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
|
|
44299
|
-
- 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
|
|
44300
|
-
- 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
|
|
44301
|
-
|
|
44302
|
-
- 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
|
|
44303
|
-
- 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
|
|
44304
|
-
- 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
|
|
44305
|
-
- 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
|
|
44306
|
-
- 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
|
|
44307
|
-
- 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
44308
|
-
- 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
44482
|
+
: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>
|
|
44309
44483
|
:type MultiCameraLayout: str
|
|
44310
|
-
:param _DetectTypes:
|
|
44311
|
-
|
|
44312
|
-
**通用事件标签**
|
|
44313
|
-
- `person_enter` 有人进入
|
|
44314
|
-
- `vehicle_entering` 车辆进入
|
|
44315
|
-
- `vehicle_parking` 车辆停靠
|
|
44316
|
-
- `pet` 有宠物
|
|
44317
|
-
- `no_signal` 视频画面异常(无信号等)
|
|
44318
|
-
|
|
44319
|
-
**看家护院**
|
|
44320
|
-
- `person_climbing_fence` 有人翻围墙
|
|
44321
|
-
- `door_window_open` 门窗被开启
|
|
44322
|
-
- `person_carrying_object` 有人搬运物品
|
|
44323
|
-
|
|
44324
|
-
**商铺看管**
|
|
44325
|
-
- `person_at_cashier` 有人在收银台
|
|
44326
|
-
- `person_taking_goods` 有人拿商品
|
|
44327
|
-
- `person_night_moving` 夜间有人移动
|
|
44328
|
-
|
|
44329
|
-
**公共及防火安全**
|
|
44330
|
-
- `person_stealing` 有人偷盗
|
|
44331
|
-
- `crowd` 多人聚集
|
|
44332
|
-
- `smoking` 有人吸烟
|
|
44333
|
-
- `safety_fire` 明火
|
|
44334
|
-
- `safety_smoke` 浓烟
|
|
44335
|
-
- `fireworks` 有人燃放烟花爆竹
|
|
44336
|
-
- `knife` 有人持刀
|
|
44337
|
-
- `gun` 有人持枪
|
|
44338
|
-
- `fight` 有人打架
|
|
44339
|
-
- `hurt` 有人受伤流血
|
|
44340
|
-
|
|
44341
|
-
**养殖看护**
|
|
44342
|
-
- `person_feeding_animal` 有人投喂牲畜
|
|
44343
|
-
- `animal_lying` 有动物躺地上
|
|
44344
|
-
- `animal_wild_intrusion` 野生动物入侵
|
|
44345
|
-
|
|
44346
|
-
**果园农田**
|
|
44347
|
-
- `person_picking_fruit` 有人采摘果实
|
|
44348
|
-
- `person_carrying_bag` 有人携带包裹
|
|
44349
|
-
|
|
44350
|
-
**鱼塘看管**
|
|
44351
|
-
- `fishing` 有人钓鱼
|
|
44352
|
-
- `net_fishing` 有人撒网
|
|
44353
|
-
- `person_carrying_fishing_gear` 有人携带渔具
|
|
44354
|
-
- `loitering_near_water` 有人岸边逗留
|
|
44355
|
-
- `throwing_into_water` 有人投掷物品
|
|
44356
|
-
|
|
44357
|
-
**婴儿看护**
|
|
44358
|
-
- `baby` 有婴儿
|
|
44359
|
-
- `baby_dropping` 婴儿跌落床铺
|
|
44360
|
-
- `person_holding_baby` 有人抱起婴儿
|
|
44361
|
-
- `baby_rolling` 婴儿翻滚
|
|
44362
|
-
- `baby_crying` 婴儿哭闹
|
|
44363
|
-
|
|
44364
|
-
**儿童看护**
|
|
44365
|
-
- `child` 有小孩
|
|
44366
|
-
- `child_falling` 小孩摔倒
|
|
44367
|
-
- `child_entering_kitchen` 小孩进入厨房
|
|
44368
|
-
- `child_climbing_window` 小孩攀爬室内窗户
|
|
44369
|
-
- `child_near_water` 小孩靠近水域
|
|
44370
|
-
|
|
44371
|
-
**老人看护**
|
|
44372
|
-
- `elderly` 有老人
|
|
44373
|
-
- `elderly_falling` 老人摔倒
|
|
44374
|
-
- `elderly_eating` 老人用餐
|
|
44375
|
-
- `elderly_using_stove` 老人使用灶具
|
|
44376
|
-
|
|
44377
|
-
**宠物看护**
|
|
44378
|
-
- `pet_eating` 宠物进食
|
|
44379
|
-
- `pet_damaging` 宠物损坏家具
|
|
44380
|
-
- `pet_barking` 宠物吠叫
|
|
44381
|
-
- `pet_scratching_door` 宠物挠门
|
|
44382
|
-
|
|
44484
|
+
:param _DetectTypes: <p>拓展的目标及事件检测类别。可选值包括:</p><p><strong>通用事件标签</strong></p><ul><li><code>person_enter</code> 有人进入</li><li><code>vehicle_entering</code> 车辆进入</li><li><code>vehicle_parking</code> 车辆停靠</li><li><code>pet</code> 有宠物</li><li><code>no_signal</code> 视频画面异常(无信号等)</li></ul><p><strong>看家护院</strong></p><ul><li><code>person_climbing_fence</code> 有人翻围墙</li><li><code>door_window_open</code> 门窗被开启</li><li><code>person_carrying_object</code> 有人搬运物品</li></ul><p><strong>商铺看管</strong></p><ul><li><code>person_at_cashier</code> 有人在收银台</li><li><code>person_taking_goods</code> 有人拿商品</li><li><code>person_night_moving</code> 夜间有人移动</li></ul><p><strong>公共及防火安全</strong></p><ul><li><code>person_stealing</code> 有人偷盗</li><li><code>crowd</code> 多人聚集</li><li><code>smoking</code> 有人吸烟</li><li><code>safety_fire</code> 明火</li><li><code>safety_smoke</code> 浓烟</li><li><code>fireworks</code> 有人燃放烟花爆竹</li><li><code>knife</code> 有人持刀</li><li><code>gun</code> 有人持枪</li><li><code>fight</code> 有人打架</li><li><code>hurt</code> 有人受伤流血</li></ul><p><strong>养殖看护</strong></p><ul><li><code>person_feeding_animal</code> 有人投喂牲畜</li><li><code>animal_lying</code> 有动物躺地上</li><li><code>animal_wild_intrusion</code> 野生动物入侵</li></ul><p><strong>果园农田</strong></p><ul><li><code>person_picking_fruit</code> 有人采摘果实</li><li><code>person_carrying_bag</code> 有人携带包裹</li></ul><p><strong>鱼塘看管</strong></p><ul><li><code>fishing</code> 有人钓鱼</li><li><code>net_fishing</code> 有人撒网</li><li><code>person_carrying_fishing_gear</code> 有人携带渔具</li><li><code>loitering_near_water</code> 有人岸边逗留</li><li><code>throwing_into_water</code> 有人投掷物品</li></ul><p><strong>婴儿看护</strong></p><ul><li><code>baby</code> 有婴儿</li><li><code>baby_dropping</code> 婴儿跌落床铺</li><li><code>person_holding_baby</code> 有人抱起婴儿</li><li><code>baby_rolling</code> 婴儿翻滚</li><li><code>baby_crying</code> 婴儿哭闹</li></ul><p><strong>儿童看护</strong></p><ul><li><code>child</code> 有小孩</li><li><code>child_falling</code> 小孩摔倒</li><li><code>child_entering_kitchen</code> 小孩进入厨房</li><li><code>child_climbing_window</code> 小孩攀爬室内窗户</li><li><code>child_near_water</code> 小孩靠近水域</li></ul><p><strong>老人看护</strong></p><ul><li><code>elderly</code> 有老人</li><li><code>elderly_falling</code> 老人摔倒</li><li><code>elderly_eating</code> 老人用餐</li><li><code>elderly_using_stove</code> 老人使用灶具</li></ul><p><strong>宠物看护</strong></p><ul><li><code>pet_eating</code> 宠物进食</li><li><code>pet_damaging</code> 宠物损坏家具</li><li><code>pet_barking</code> 宠物吠叫</li><li><code>pet_scratching_door</code> 宠物挠门</li></ul>
|
|
44383
44485
|
:type DetectTypes: list of str
|
|
44384
|
-
:param _CustomDetectQueries:
|
|
44486
|
+
:param _CustomDetectQueries: <p>自定义检测标签</p>
|
|
44385
44487
|
:type CustomDetectQueries: list of VisionCustomDetectQuery
|
|
44386
|
-
:param _DetectContinuous:
|
|
44488
|
+
:param _DetectContinuous: <p>标签持续检测配置</p>
|
|
44387
44489
|
:type DetectContinuous: list of SeeDetectContinuousConfig
|
|
44490
|
+
:param _SummaryPrompt: <p>自定义摘要提示词</p>
|
|
44491
|
+
:type SummaryPrompt: str
|
|
44388
44492
|
"""
|
|
44389
44493
|
self._OutputLang = None
|
|
44390
44494
|
self._AlternativeOutputLang = None
|
|
@@ -44392,17 +44496,11 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44392
44496
|
self._DetectTypes = None
|
|
44393
44497
|
self._CustomDetectQueries = None
|
|
44394
44498
|
self._DetectContinuous = None
|
|
44499
|
+
self._SummaryPrompt = None
|
|
44395
44500
|
|
|
44396
44501
|
@property
|
|
44397
44502
|
def OutputLang(self):
|
|
44398
|
-
r"""
|
|
44399
|
-
- `zh` 中文(默认值)
|
|
44400
|
-
- `en` 英语
|
|
44401
|
-
- `ja` 日语
|
|
44402
|
-
- `ko` 韩文
|
|
44403
|
-
- `pt-BR` 葡萄牙语(巴西)
|
|
44404
|
-
- `th` 泰语
|
|
44405
|
-
- `ms` 马来语
|
|
44503
|
+
r"""<p>主输出语言,可选值包括:</p><ul><li><code>zh</code> 中文(默认值)</li><li><code>en</code> 英语</li><li><code>ja</code> 日语</li><li><code>ko</code> 韩文</li><li><code>pt-BR</code> 葡萄牙语(巴西)</li><li><code>th</code> 泰语</li><li><code>ms</code> 马来语</li></ul>
|
|
44406
44504
|
:rtype: str
|
|
44407
44505
|
"""
|
|
44408
44506
|
return self._OutputLang
|
|
@@ -44413,15 +44511,7 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44413
44511
|
|
|
44414
44512
|
@property
|
|
44415
44513
|
def AlternativeOutputLang(self):
|
|
44416
|
-
r"""
|
|
44417
|
-
- `zh` 中文
|
|
44418
|
-
- `en` 英语
|
|
44419
|
-
- `ja` 日语
|
|
44420
|
-
- `ko` 韩文
|
|
44421
|
-
- `pt-BR` 葡萄牙语(巴西)
|
|
44422
|
-
- `th` 泰语
|
|
44423
|
-
- `ms` 马来语
|
|
44424
|
-
|
|
44514
|
+
r"""<p>次选输出语言,可选值包括:</p><ul><li><code>zh</code> 中文</li><li><code>en</code> 英语</li><li><code>ja</code> 日语</li><li><code>ko</code> 韩文</li><li><code>pt-BR</code> 葡萄牙语(巴西)</li><li><code>th</code> 泰语</li><li><code>ms</code> 马来语</li></ul>
|
|
44425
44515
|
:rtype: str
|
|
44426
44516
|
"""
|
|
44427
44517
|
return self._AlternativeOutputLang
|
|
@@ -44432,21 +44522,7 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44432
44522
|
|
|
44433
44523
|
@property
|
|
44434
44524
|
def MultiCameraLayout(self):
|
|
44435
|
-
r"""
|
|
44436
|
-
|
|
44437
|
-
- 单摄(默认值):`Single`
|
|
44438
|
-
|
|
44439
|
-
- 双摄(纵向排列)- 全部画面:`Vertical,Num=2,Index=0;1`
|
|
44440
|
-
- 双摄(纵向排列)- 画面1:`Vertical,Num=2,Index=0`
|
|
44441
|
-
- 双摄(纵向排列)- 画面2:`Vertical,Num=2,Index=1`
|
|
44442
|
-
|
|
44443
|
-
- 三摄(纵向排列)- 全部画面:`Vertical,Num=3,Index=0;1;2`
|
|
44444
|
-
- 三摄(纵向排列)- 画面1:`Vertical,Num=3,Index=0`
|
|
44445
|
-
- 三摄(纵向排列)- 画面2:`Vertical,Num=3,Index=1`
|
|
44446
|
-
- 三摄(纵向排列)- 画面3:`Vertical,Num=3,Index=2`
|
|
44447
|
-
- 三摄(纵向排列)- 画面1+2:`Vertical,Num=3,Index=0;1`
|
|
44448
|
-
- 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
44449
|
-
- 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
44525
|
+
r"""<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>
|
|
44450
44526
|
:rtype: str
|
|
44451
44527
|
"""
|
|
44452
44528
|
return self._MultiCameraLayout
|
|
@@ -44457,79 +44533,7 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44457
44533
|
|
|
44458
44534
|
@property
|
|
44459
44535
|
def DetectTypes(self):
|
|
44460
|
-
r"""
|
|
44461
|
-
|
|
44462
|
-
**通用事件标签**
|
|
44463
|
-
- `person_enter` 有人进入
|
|
44464
|
-
- `vehicle_entering` 车辆进入
|
|
44465
|
-
- `vehicle_parking` 车辆停靠
|
|
44466
|
-
- `pet` 有宠物
|
|
44467
|
-
- `no_signal` 视频画面异常(无信号等)
|
|
44468
|
-
|
|
44469
|
-
**看家护院**
|
|
44470
|
-
- `person_climbing_fence` 有人翻围墙
|
|
44471
|
-
- `door_window_open` 门窗被开启
|
|
44472
|
-
- `person_carrying_object` 有人搬运物品
|
|
44473
|
-
|
|
44474
|
-
**商铺看管**
|
|
44475
|
-
- `person_at_cashier` 有人在收银台
|
|
44476
|
-
- `person_taking_goods` 有人拿商品
|
|
44477
|
-
- `person_night_moving` 夜间有人移动
|
|
44478
|
-
|
|
44479
|
-
**公共及防火安全**
|
|
44480
|
-
- `person_stealing` 有人偷盗
|
|
44481
|
-
- `crowd` 多人聚集
|
|
44482
|
-
- `smoking` 有人吸烟
|
|
44483
|
-
- `safety_fire` 明火
|
|
44484
|
-
- `safety_smoke` 浓烟
|
|
44485
|
-
- `fireworks` 有人燃放烟花爆竹
|
|
44486
|
-
- `knife` 有人持刀
|
|
44487
|
-
- `gun` 有人持枪
|
|
44488
|
-
- `fight` 有人打架
|
|
44489
|
-
- `hurt` 有人受伤流血
|
|
44490
|
-
|
|
44491
|
-
**养殖看护**
|
|
44492
|
-
- `person_feeding_animal` 有人投喂牲畜
|
|
44493
|
-
- `animal_lying` 有动物躺地上
|
|
44494
|
-
- `animal_wild_intrusion` 野生动物入侵
|
|
44495
|
-
|
|
44496
|
-
**果园农田**
|
|
44497
|
-
- `person_picking_fruit` 有人采摘果实
|
|
44498
|
-
- `person_carrying_bag` 有人携带包裹
|
|
44499
|
-
|
|
44500
|
-
**鱼塘看管**
|
|
44501
|
-
- `fishing` 有人钓鱼
|
|
44502
|
-
- `net_fishing` 有人撒网
|
|
44503
|
-
- `person_carrying_fishing_gear` 有人携带渔具
|
|
44504
|
-
- `loitering_near_water` 有人岸边逗留
|
|
44505
|
-
- `throwing_into_water` 有人投掷物品
|
|
44506
|
-
|
|
44507
|
-
**婴儿看护**
|
|
44508
|
-
- `baby` 有婴儿
|
|
44509
|
-
- `baby_dropping` 婴儿跌落床铺
|
|
44510
|
-
- `person_holding_baby` 有人抱起婴儿
|
|
44511
|
-
- `baby_rolling` 婴儿翻滚
|
|
44512
|
-
- `baby_crying` 婴儿哭闹
|
|
44513
|
-
|
|
44514
|
-
**儿童看护**
|
|
44515
|
-
- `child` 有小孩
|
|
44516
|
-
- `child_falling` 小孩摔倒
|
|
44517
|
-
- `child_entering_kitchen` 小孩进入厨房
|
|
44518
|
-
- `child_climbing_window` 小孩攀爬室内窗户
|
|
44519
|
-
- `child_near_water` 小孩靠近水域
|
|
44520
|
-
|
|
44521
|
-
**老人看护**
|
|
44522
|
-
- `elderly` 有老人
|
|
44523
|
-
- `elderly_falling` 老人摔倒
|
|
44524
|
-
- `elderly_eating` 老人用餐
|
|
44525
|
-
- `elderly_using_stove` 老人使用灶具
|
|
44526
|
-
|
|
44527
|
-
**宠物看护**
|
|
44528
|
-
- `pet_eating` 宠物进食
|
|
44529
|
-
- `pet_damaging` 宠物损坏家具
|
|
44530
|
-
- `pet_barking` 宠物吠叫
|
|
44531
|
-
- `pet_scratching_door` 宠物挠门
|
|
44532
|
-
|
|
44536
|
+
r"""<p>拓展的目标及事件检测类别。可选值包括:</p><p><strong>通用事件标签</strong></p><ul><li><code>person_enter</code> 有人进入</li><li><code>vehicle_entering</code> 车辆进入</li><li><code>vehicle_parking</code> 车辆停靠</li><li><code>pet</code> 有宠物</li><li><code>no_signal</code> 视频画面异常(无信号等)</li></ul><p><strong>看家护院</strong></p><ul><li><code>person_climbing_fence</code> 有人翻围墙</li><li><code>door_window_open</code> 门窗被开启</li><li><code>person_carrying_object</code> 有人搬运物品</li></ul><p><strong>商铺看管</strong></p><ul><li><code>person_at_cashier</code> 有人在收银台</li><li><code>person_taking_goods</code> 有人拿商品</li><li><code>person_night_moving</code> 夜间有人移动</li></ul><p><strong>公共及防火安全</strong></p><ul><li><code>person_stealing</code> 有人偷盗</li><li><code>crowd</code> 多人聚集</li><li><code>smoking</code> 有人吸烟</li><li><code>safety_fire</code> 明火</li><li><code>safety_smoke</code> 浓烟</li><li><code>fireworks</code> 有人燃放烟花爆竹</li><li><code>knife</code> 有人持刀</li><li><code>gun</code> 有人持枪</li><li><code>fight</code> 有人打架</li><li><code>hurt</code> 有人受伤流血</li></ul><p><strong>养殖看护</strong></p><ul><li><code>person_feeding_animal</code> 有人投喂牲畜</li><li><code>animal_lying</code> 有动物躺地上</li><li><code>animal_wild_intrusion</code> 野生动物入侵</li></ul><p><strong>果园农田</strong></p><ul><li><code>person_picking_fruit</code> 有人采摘果实</li><li><code>person_carrying_bag</code> 有人携带包裹</li></ul><p><strong>鱼塘看管</strong></p><ul><li><code>fishing</code> 有人钓鱼</li><li><code>net_fishing</code> 有人撒网</li><li><code>person_carrying_fishing_gear</code> 有人携带渔具</li><li><code>loitering_near_water</code> 有人岸边逗留</li><li><code>throwing_into_water</code> 有人投掷物品</li></ul><p><strong>婴儿看护</strong></p><ul><li><code>baby</code> 有婴儿</li><li><code>baby_dropping</code> 婴儿跌落床铺</li><li><code>person_holding_baby</code> 有人抱起婴儿</li><li><code>baby_rolling</code> 婴儿翻滚</li><li><code>baby_crying</code> 婴儿哭闹</li></ul><p><strong>儿童看护</strong></p><ul><li><code>child</code> 有小孩</li><li><code>child_falling</code> 小孩摔倒</li><li><code>child_entering_kitchen</code> 小孩进入厨房</li><li><code>child_climbing_window</code> 小孩攀爬室内窗户</li><li><code>child_near_water</code> 小孩靠近水域</li></ul><p><strong>老人看护</strong></p><ul><li><code>elderly</code> 有老人</li><li><code>elderly_falling</code> 老人摔倒</li><li><code>elderly_eating</code> 老人用餐</li><li><code>elderly_using_stove</code> 老人使用灶具</li></ul><p><strong>宠物看护</strong></p><ul><li><code>pet_eating</code> 宠物进食</li><li><code>pet_damaging</code> 宠物损坏家具</li><li><code>pet_barking</code> 宠物吠叫</li><li><code>pet_scratching_door</code> 宠物挠门</li></ul>
|
|
44533
44537
|
:rtype: list of str
|
|
44534
44538
|
"""
|
|
44535
44539
|
return self._DetectTypes
|
|
@@ -44540,7 +44544,7 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44540
44544
|
|
|
44541
44545
|
@property
|
|
44542
44546
|
def CustomDetectQueries(self):
|
|
44543
|
-
r"""
|
|
44547
|
+
r"""<p>自定义检测标签</p>
|
|
44544
44548
|
:rtype: list of VisionCustomDetectQuery
|
|
44545
44549
|
"""
|
|
44546
44550
|
return self._CustomDetectQueries
|
|
@@ -44551,7 +44555,7 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44551
44555
|
|
|
44552
44556
|
@property
|
|
44553
44557
|
def DetectContinuous(self):
|
|
44554
|
-
r"""
|
|
44558
|
+
r"""<p>标签持续检测配置</p>
|
|
44555
44559
|
:rtype: list of SeeDetectContinuousConfig
|
|
44556
44560
|
"""
|
|
44557
44561
|
return self._DetectContinuous
|
|
@@ -44560,6 +44564,17 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44560
44564
|
def DetectContinuous(self, DetectContinuous):
|
|
44561
44565
|
self._DetectContinuous = DetectContinuous
|
|
44562
44566
|
|
|
44567
|
+
@property
|
|
44568
|
+
def SummaryPrompt(self):
|
|
44569
|
+
r"""<p>自定义摘要提示词</p>
|
|
44570
|
+
:rtype: str
|
|
44571
|
+
"""
|
|
44572
|
+
return self._SummaryPrompt
|
|
44573
|
+
|
|
44574
|
+
@SummaryPrompt.setter
|
|
44575
|
+
def SummaryPrompt(self, SummaryPrompt):
|
|
44576
|
+
self._SummaryPrompt = SummaryPrompt
|
|
44577
|
+
|
|
44563
44578
|
|
|
44564
44579
|
def _deserialize(self, params):
|
|
44565
44580
|
self._OutputLang = params.get("OutputLang")
|
|
@@ -44578,6 +44593,7 @@ class VisionSummaryConfig(AbstractModel):
|
|
|
44578
44593
|
obj = SeeDetectContinuousConfig()
|
|
44579
44594
|
obj._deserialize(item)
|
|
44580
44595
|
self._DetectContinuous.append(obj)
|
|
44596
|
+
self._SummaryPrompt = params.get("SummaryPrompt")
|
|
44581
44597
|
memeber_set = set(params.keys())
|
|
44582
44598
|
for name, value in vars(self).items():
|
|
44583
44599
|
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.112
|
|
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.112
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.106
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|