tencentcloud-sdk-python-mps 3.0.1042__tar.gz → 3.0.1052__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-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/setup.py +1 -1
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud/mps/v20190612/models.py +297 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-mps-3.0.1052/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mps-3.0.1042/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/README.rst +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mps-3.0.1042 → tencentcloud-sdk-python-mps-3.0.1052}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mps',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1052"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mps SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1332,6 +1332,8 @@ class AiAnalysisResult(AbstractModel):
|
|
|
1332
1332
|
<li>Tag:智能标签</li>
|
|
1333
1333
|
<li>FrameTag:智能按帧标签</li>
|
|
1334
1334
|
<li>Highlight:智能精彩集锦</li>
|
|
1335
|
+
<li>DeLogo:智能去水印</li>
|
|
1336
|
+
<li>Description:大模型摘要</li>
|
|
1335
1337
|
:type Type: str
|
|
1336
1338
|
:param _ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
|
1337
1339
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1351,6 +1353,9 @@ class AiAnalysisResult(AbstractModel):
|
|
|
1351
1353
|
:param _DeLogoTask: 视频内容分析去水印任务的查询结果,当任务类型为 DeLogo 时有效。
|
|
1352
1354
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1353
1355
|
:type DeLogoTask: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoResult`
|
|
1356
|
+
:param _DescriptionTask: 视频内容分析摘要任务的查询结果,当任务类型为 Description 时有效。
|
|
1357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1358
|
+
:type DescriptionTask: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDescriptionResult`
|
|
1354
1359
|
"""
|
|
1355
1360
|
self._Type = None
|
|
1356
1361
|
self._ClassificationTask = None
|
|
@@ -1359,6 +1364,7 @@ class AiAnalysisResult(AbstractModel):
|
|
|
1359
1364
|
self._FrameTagTask = None
|
|
1360
1365
|
self._HighlightTask = None
|
|
1361
1366
|
self._DeLogoTask = None
|
|
1367
|
+
self._DescriptionTask = None
|
|
1362
1368
|
|
|
1363
1369
|
@property
|
|
1364
1370
|
def Type(self):
|
|
@@ -1416,6 +1422,14 @@ class AiAnalysisResult(AbstractModel):
|
|
|
1416
1422
|
def DeLogoTask(self, DeLogoTask):
|
|
1417
1423
|
self._DeLogoTask = DeLogoTask
|
|
1418
1424
|
|
|
1425
|
+
@property
|
|
1426
|
+
def DescriptionTask(self):
|
|
1427
|
+
return self._DescriptionTask
|
|
1428
|
+
|
|
1429
|
+
@DescriptionTask.setter
|
|
1430
|
+
def DescriptionTask(self, DescriptionTask):
|
|
1431
|
+
self._DescriptionTask = DescriptionTask
|
|
1432
|
+
|
|
1419
1433
|
|
|
1420
1434
|
def _deserialize(self, params):
|
|
1421
1435
|
self._Type = params.get("Type")
|
|
@@ -1437,6 +1451,9 @@ class AiAnalysisResult(AbstractModel):
|
|
|
1437
1451
|
if params.get("DeLogoTask") is not None:
|
|
1438
1452
|
self._DeLogoTask = AiAnalysisTaskDelLogoResult()
|
|
1439
1453
|
self._DeLogoTask._deserialize(params.get("DeLogoTask"))
|
|
1454
|
+
if params.get("DescriptionTask") is not None:
|
|
1455
|
+
self._DescriptionTask = AiAnalysisTaskDescriptionResult()
|
|
1456
|
+
self._DescriptionTask._deserialize(params.get("DescriptionTask"))
|
|
1440
1457
|
memeber_set = set(params.keys())
|
|
1441
1458
|
for name, value in vars(self).items():
|
|
1442
1459
|
property_name = name[1:]
|
|
@@ -1965,6 +1982,163 @@ class AiAnalysisTaskDelLogoResult(AbstractModel):
|
|
|
1965
1982
|
|
|
1966
1983
|
|
|
1967
1984
|
|
|
1985
|
+
class AiAnalysisTaskDescriptionInput(AbstractModel):
|
|
1986
|
+
"""智能分类任务输入类型
|
|
1987
|
+
|
|
1988
|
+
"""
|
|
1989
|
+
|
|
1990
|
+
def __init__(self):
|
|
1991
|
+
r"""
|
|
1992
|
+
:param _Definition: 视频智能描述模板 ID。
|
|
1993
|
+
:type Definition: int
|
|
1994
|
+
"""
|
|
1995
|
+
self._Definition = None
|
|
1996
|
+
|
|
1997
|
+
@property
|
|
1998
|
+
def Definition(self):
|
|
1999
|
+
return self._Definition
|
|
2000
|
+
|
|
2001
|
+
@Definition.setter
|
|
2002
|
+
def Definition(self, Definition):
|
|
2003
|
+
self._Definition = Definition
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
def _deserialize(self, params):
|
|
2007
|
+
self._Definition = params.get("Definition")
|
|
2008
|
+
memeber_set = set(params.keys())
|
|
2009
|
+
for name, value in vars(self).items():
|
|
2010
|
+
property_name = name[1:]
|
|
2011
|
+
if property_name in memeber_set:
|
|
2012
|
+
memeber_set.remove(property_name)
|
|
2013
|
+
if len(memeber_set) > 0:
|
|
2014
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
class AiAnalysisTaskDescriptionOutput(AbstractModel):
|
|
2019
|
+
"""智能描述结果信息
|
|
2020
|
+
|
|
2021
|
+
"""
|
|
2022
|
+
|
|
2023
|
+
def __init__(self):
|
|
2024
|
+
r"""
|
|
2025
|
+
:param _DescriptionSet: 视频智能描述列表。
|
|
2026
|
+
:type DescriptionSet: list of MediaAiAnalysisDescriptionItem
|
|
2027
|
+
"""
|
|
2028
|
+
self._DescriptionSet = None
|
|
2029
|
+
|
|
2030
|
+
@property
|
|
2031
|
+
def DescriptionSet(self):
|
|
2032
|
+
return self._DescriptionSet
|
|
2033
|
+
|
|
2034
|
+
@DescriptionSet.setter
|
|
2035
|
+
def DescriptionSet(self, DescriptionSet):
|
|
2036
|
+
self._DescriptionSet = DescriptionSet
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
def _deserialize(self, params):
|
|
2040
|
+
if params.get("DescriptionSet") is not None:
|
|
2041
|
+
self._DescriptionSet = []
|
|
2042
|
+
for item in params.get("DescriptionSet"):
|
|
2043
|
+
obj = MediaAiAnalysisDescriptionItem()
|
|
2044
|
+
obj._deserialize(item)
|
|
2045
|
+
self._DescriptionSet.append(obj)
|
|
2046
|
+
memeber_set = set(params.keys())
|
|
2047
|
+
for name, value in vars(self).items():
|
|
2048
|
+
property_name = name[1:]
|
|
2049
|
+
if property_name in memeber_set:
|
|
2050
|
+
memeber_set.remove(property_name)
|
|
2051
|
+
if len(memeber_set) > 0:
|
|
2052
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
class AiAnalysisTaskDescriptionResult(AbstractModel):
|
|
2057
|
+
"""智能描述结果类型
|
|
2058
|
+
|
|
2059
|
+
"""
|
|
2060
|
+
|
|
2061
|
+
def __init__(self):
|
|
2062
|
+
r"""
|
|
2063
|
+
:param _Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
2064
|
+
:type Status: str
|
|
2065
|
+
:param _ErrCode: 错误码,0:成功,其他值:失败。
|
|
2066
|
+
:type ErrCode: int
|
|
2067
|
+
:param _Message: 错误信息。
|
|
2068
|
+
:type Message: str
|
|
2069
|
+
:param _Input: 智能描述任务输入。
|
|
2070
|
+
:type Input: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDescriptionInput`
|
|
2071
|
+
:param _Output: 智能描述任务输出。
|
|
2072
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2073
|
+
:type Output: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDescriptionOutput`
|
|
2074
|
+
"""
|
|
2075
|
+
self._Status = None
|
|
2076
|
+
self._ErrCode = None
|
|
2077
|
+
self._Message = None
|
|
2078
|
+
self._Input = None
|
|
2079
|
+
self._Output = None
|
|
2080
|
+
|
|
2081
|
+
@property
|
|
2082
|
+
def Status(self):
|
|
2083
|
+
return self._Status
|
|
2084
|
+
|
|
2085
|
+
@Status.setter
|
|
2086
|
+
def Status(self, Status):
|
|
2087
|
+
self._Status = Status
|
|
2088
|
+
|
|
2089
|
+
@property
|
|
2090
|
+
def ErrCode(self):
|
|
2091
|
+
return self._ErrCode
|
|
2092
|
+
|
|
2093
|
+
@ErrCode.setter
|
|
2094
|
+
def ErrCode(self, ErrCode):
|
|
2095
|
+
self._ErrCode = ErrCode
|
|
2096
|
+
|
|
2097
|
+
@property
|
|
2098
|
+
def Message(self):
|
|
2099
|
+
return self._Message
|
|
2100
|
+
|
|
2101
|
+
@Message.setter
|
|
2102
|
+
def Message(self, Message):
|
|
2103
|
+
self._Message = Message
|
|
2104
|
+
|
|
2105
|
+
@property
|
|
2106
|
+
def Input(self):
|
|
2107
|
+
return self._Input
|
|
2108
|
+
|
|
2109
|
+
@Input.setter
|
|
2110
|
+
def Input(self, Input):
|
|
2111
|
+
self._Input = Input
|
|
2112
|
+
|
|
2113
|
+
@property
|
|
2114
|
+
def Output(self):
|
|
2115
|
+
return self._Output
|
|
2116
|
+
|
|
2117
|
+
@Output.setter
|
|
2118
|
+
def Output(self, Output):
|
|
2119
|
+
self._Output = Output
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
def _deserialize(self, params):
|
|
2123
|
+
self._Status = params.get("Status")
|
|
2124
|
+
self._ErrCode = params.get("ErrCode")
|
|
2125
|
+
self._Message = params.get("Message")
|
|
2126
|
+
if params.get("Input") is not None:
|
|
2127
|
+
self._Input = AiAnalysisTaskDescriptionInput()
|
|
2128
|
+
self._Input._deserialize(params.get("Input"))
|
|
2129
|
+
if params.get("Output") is not None:
|
|
2130
|
+
self._Output = AiAnalysisTaskDescriptionOutput()
|
|
2131
|
+
self._Output._deserialize(params.get("Output"))
|
|
2132
|
+
memeber_set = set(params.keys())
|
|
2133
|
+
for name, value in vars(self).items():
|
|
2134
|
+
property_name = name[1:]
|
|
2135
|
+
if property_name in memeber_set:
|
|
2136
|
+
memeber_set.remove(property_name)
|
|
2137
|
+
if len(memeber_set) > 0:
|
|
2138
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
|
|
1968
2142
|
class AiAnalysisTaskFrameTagInput(AbstractModel):
|
|
1969
2143
|
"""智能按帧标签任务输入类型
|
|
1970
2144
|
|
|
@@ -2772,6 +2946,66 @@ class AiContentReviewTaskInput(AbstractModel):
|
|
|
2772
2946
|
|
|
2773
2947
|
|
|
2774
2948
|
|
|
2949
|
+
class AiParagraphInfo(AbstractModel):
|
|
2950
|
+
"""分段信息。
|
|
2951
|
+
|
|
2952
|
+
"""
|
|
2953
|
+
|
|
2954
|
+
def __init__(self):
|
|
2955
|
+
r"""
|
|
2956
|
+
:param _Summary: 分段摘要
|
|
2957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2958
|
+
:type Summary: str
|
|
2959
|
+
:param _StartTimeOffset: 分段起始时间点,秒
|
|
2960
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2961
|
+
:type StartTimeOffset: float
|
|
2962
|
+
:param _EndTimeOffset: 分段结束时间点,秒
|
|
2963
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2964
|
+
:type EndTimeOffset: float
|
|
2965
|
+
"""
|
|
2966
|
+
self._Summary = None
|
|
2967
|
+
self._StartTimeOffset = None
|
|
2968
|
+
self._EndTimeOffset = None
|
|
2969
|
+
|
|
2970
|
+
@property
|
|
2971
|
+
def Summary(self):
|
|
2972
|
+
return self._Summary
|
|
2973
|
+
|
|
2974
|
+
@Summary.setter
|
|
2975
|
+
def Summary(self, Summary):
|
|
2976
|
+
self._Summary = Summary
|
|
2977
|
+
|
|
2978
|
+
@property
|
|
2979
|
+
def StartTimeOffset(self):
|
|
2980
|
+
return self._StartTimeOffset
|
|
2981
|
+
|
|
2982
|
+
@StartTimeOffset.setter
|
|
2983
|
+
def StartTimeOffset(self, StartTimeOffset):
|
|
2984
|
+
self._StartTimeOffset = StartTimeOffset
|
|
2985
|
+
|
|
2986
|
+
@property
|
|
2987
|
+
def EndTimeOffset(self):
|
|
2988
|
+
return self._EndTimeOffset
|
|
2989
|
+
|
|
2990
|
+
@EndTimeOffset.setter
|
|
2991
|
+
def EndTimeOffset(self, EndTimeOffset):
|
|
2992
|
+
self._EndTimeOffset = EndTimeOffset
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
def _deserialize(self, params):
|
|
2996
|
+
self._Summary = params.get("Summary")
|
|
2997
|
+
self._StartTimeOffset = params.get("StartTimeOffset")
|
|
2998
|
+
self._EndTimeOffset = params.get("EndTimeOffset")
|
|
2999
|
+
memeber_set = set(params.keys())
|
|
3000
|
+
for name, value in vars(self).items():
|
|
3001
|
+
property_name = name[1:]
|
|
3002
|
+
if property_name in memeber_set:
|
|
3003
|
+
memeber_set.remove(property_name)
|
|
3004
|
+
if len(memeber_set) > 0:
|
|
3005
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
|
|
2775
3009
|
class AiQualityControlTaskInput(AbstractModel):
|
|
2776
3010
|
"""视频质检输入参数类型
|
|
2777
3011
|
|
|
@@ -27091,6 +27325,69 @@ class MediaAiAnalysisCoverItem(AbstractModel):
|
|
|
27091
27325
|
|
|
27092
27326
|
|
|
27093
27327
|
|
|
27328
|
+
class MediaAiAnalysisDescriptionItem(AbstractModel):
|
|
27329
|
+
"""智能描述信息
|
|
27330
|
+
|
|
27331
|
+
"""
|
|
27332
|
+
|
|
27333
|
+
def __init__(self):
|
|
27334
|
+
r"""
|
|
27335
|
+
:param _Description: 智能描述。
|
|
27336
|
+
:type Description: str
|
|
27337
|
+
:param _Confidence: 智能描述的可信度,取值范围是 0 到 100。
|
|
27338
|
+
:type Confidence: float
|
|
27339
|
+
:param _Paragraphs: 分段结果。
|
|
27340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
27341
|
+
:type Paragraphs: list of AiParagraphInfo
|
|
27342
|
+
"""
|
|
27343
|
+
self._Description = None
|
|
27344
|
+
self._Confidence = None
|
|
27345
|
+
self._Paragraphs = None
|
|
27346
|
+
|
|
27347
|
+
@property
|
|
27348
|
+
def Description(self):
|
|
27349
|
+
return self._Description
|
|
27350
|
+
|
|
27351
|
+
@Description.setter
|
|
27352
|
+
def Description(self, Description):
|
|
27353
|
+
self._Description = Description
|
|
27354
|
+
|
|
27355
|
+
@property
|
|
27356
|
+
def Confidence(self):
|
|
27357
|
+
return self._Confidence
|
|
27358
|
+
|
|
27359
|
+
@Confidence.setter
|
|
27360
|
+
def Confidence(self, Confidence):
|
|
27361
|
+
self._Confidence = Confidence
|
|
27362
|
+
|
|
27363
|
+
@property
|
|
27364
|
+
def Paragraphs(self):
|
|
27365
|
+
return self._Paragraphs
|
|
27366
|
+
|
|
27367
|
+
@Paragraphs.setter
|
|
27368
|
+
def Paragraphs(self, Paragraphs):
|
|
27369
|
+
self._Paragraphs = Paragraphs
|
|
27370
|
+
|
|
27371
|
+
|
|
27372
|
+
def _deserialize(self, params):
|
|
27373
|
+
self._Description = params.get("Description")
|
|
27374
|
+
self._Confidence = params.get("Confidence")
|
|
27375
|
+
if params.get("Paragraphs") is not None:
|
|
27376
|
+
self._Paragraphs = []
|
|
27377
|
+
for item in params.get("Paragraphs"):
|
|
27378
|
+
obj = AiParagraphInfo()
|
|
27379
|
+
obj._deserialize(item)
|
|
27380
|
+
self._Paragraphs.append(obj)
|
|
27381
|
+
memeber_set = set(params.keys())
|
|
27382
|
+
for name, value in vars(self).items():
|
|
27383
|
+
property_name = name[1:]
|
|
27384
|
+
if property_name in memeber_set:
|
|
27385
|
+
memeber_set.remove(property_name)
|
|
27386
|
+
if len(memeber_set) > 0:
|
|
27387
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27388
|
+
|
|
27389
|
+
|
|
27390
|
+
|
|
27094
27391
|
class MediaAiAnalysisFrameTagItem(AbstractModel):
|
|
27095
27392
|
"""智能按帧标签结果信息
|
|
27096
27393
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1052
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1042
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|