tencentcloud-sdk-python-mps 3.1.145__tar.gz → 3.1.147__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.1.145 → tencentcloud_sdk_python_mps-3.1.147}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/mps/v20190612/models.py +347 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.147/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.145/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.145 → tencentcloud_sdk_python_mps-3.1.147}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.147
|
|
4
4
|
Summary: Tencent Cloud Mps 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.147
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.147,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -7056,6 +7056,74 @@ class AiContentReviewTaskInput(AbstractModel):
|
|
|
7056
7056
|
|
|
7057
7057
|
|
|
7058
7058
|
|
|
7059
|
+
class AiCutoutConfig(AbstractModel):
|
|
7060
|
+
r"""智能抠图配置。
|
|
7061
|
+
|
|
7062
|
+
"""
|
|
7063
|
+
|
|
7064
|
+
def __init__(self):
|
|
7065
|
+
r"""
|
|
7066
|
+
:param _Switch: <p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
|
|
7067
|
+
:type Switch: str
|
|
7068
|
+
:param _Type: <p>抠图目标类型指定:"foreground"(默认)/ "pattern"</p>
|
|
7069
|
+
:type Type: str
|
|
7070
|
+
:param _PatternConfig: <p>图案抠图配置。仅在Type为pattern时生效。</p>
|
|
7071
|
+
:type PatternConfig: :class:`tencentcloud.mps.v20190612.models.PatternConfig`
|
|
7072
|
+
"""
|
|
7073
|
+
self._Switch = None
|
|
7074
|
+
self._Type = None
|
|
7075
|
+
self._PatternConfig = None
|
|
7076
|
+
|
|
7077
|
+
@property
|
|
7078
|
+
def Switch(self):
|
|
7079
|
+
r"""<p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
|
|
7080
|
+
:rtype: str
|
|
7081
|
+
"""
|
|
7082
|
+
return self._Switch
|
|
7083
|
+
|
|
7084
|
+
@Switch.setter
|
|
7085
|
+
def Switch(self, Switch):
|
|
7086
|
+
self._Switch = Switch
|
|
7087
|
+
|
|
7088
|
+
@property
|
|
7089
|
+
def Type(self):
|
|
7090
|
+
r"""<p>抠图目标类型指定:"foreground"(默认)/ "pattern"</p>
|
|
7091
|
+
:rtype: str
|
|
7092
|
+
"""
|
|
7093
|
+
return self._Type
|
|
7094
|
+
|
|
7095
|
+
@Type.setter
|
|
7096
|
+
def Type(self, Type):
|
|
7097
|
+
self._Type = Type
|
|
7098
|
+
|
|
7099
|
+
@property
|
|
7100
|
+
def PatternConfig(self):
|
|
7101
|
+
r"""<p>图案抠图配置。仅在Type为pattern时生效。</p>
|
|
7102
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PatternConfig`
|
|
7103
|
+
"""
|
|
7104
|
+
return self._PatternConfig
|
|
7105
|
+
|
|
7106
|
+
@PatternConfig.setter
|
|
7107
|
+
def PatternConfig(self, PatternConfig):
|
|
7108
|
+
self._PatternConfig = PatternConfig
|
|
7109
|
+
|
|
7110
|
+
|
|
7111
|
+
def _deserialize(self, params):
|
|
7112
|
+
self._Switch = params.get("Switch")
|
|
7113
|
+
self._Type = params.get("Type")
|
|
7114
|
+
if params.get("PatternConfig") is not None:
|
|
7115
|
+
self._PatternConfig = PatternConfig()
|
|
7116
|
+
self._PatternConfig._deserialize(params.get("PatternConfig"))
|
|
7117
|
+
memeber_set = set(params.keys())
|
|
7118
|
+
for name, value in vars(self).items():
|
|
7119
|
+
property_name = name[1:]
|
|
7120
|
+
if property_name in memeber_set:
|
|
7121
|
+
memeber_set.remove(property_name)
|
|
7122
|
+
if len(memeber_set) > 0:
|
|
7123
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7124
|
+
|
|
7125
|
+
|
|
7126
|
+
|
|
7059
7127
|
class AiDramaInput(AbstractModel):
|
|
7060
7128
|
r"""Ai自动生成漫剧的输入
|
|
7061
7129
|
|
|
@@ -7137,6 +7205,87 @@ class AiDramaInput(AbstractModel):
|
|
|
7137
7205
|
|
|
7138
7206
|
|
|
7139
7207
|
|
|
7208
|
+
class AiExpansionConfig(AbstractModel):
|
|
7209
|
+
r"""智能扩图配置。
|
|
7210
|
+
|
|
7211
|
+
"""
|
|
7212
|
+
|
|
7213
|
+
def __init__(self):
|
|
7214
|
+
r"""
|
|
7215
|
+
:param _Switch: <p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
|
|
7216
|
+
:type Switch: str
|
|
7217
|
+
:param _AspectRatio: <p>目标比例,如 "16:9"</p>
|
|
7218
|
+
:type AspectRatio: str
|
|
7219
|
+
:param _Width: <p>目标宽度(像素)</p><p>取值范围:[0, 2048]</p>
|
|
7220
|
+
:type Width: int
|
|
7221
|
+
:param _Height: <p>目标高度(像素)</p><p>取值范围:[0, 2048]</p>
|
|
7222
|
+
:type Height: int
|
|
7223
|
+
"""
|
|
7224
|
+
self._Switch = None
|
|
7225
|
+
self._AspectRatio = None
|
|
7226
|
+
self._Width = None
|
|
7227
|
+
self._Height = None
|
|
7228
|
+
|
|
7229
|
+
@property
|
|
7230
|
+
def Switch(self):
|
|
7231
|
+
r"""<p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
|
|
7232
|
+
:rtype: str
|
|
7233
|
+
"""
|
|
7234
|
+
return self._Switch
|
|
7235
|
+
|
|
7236
|
+
@Switch.setter
|
|
7237
|
+
def Switch(self, Switch):
|
|
7238
|
+
self._Switch = Switch
|
|
7239
|
+
|
|
7240
|
+
@property
|
|
7241
|
+
def AspectRatio(self):
|
|
7242
|
+
r"""<p>目标比例,如 "16:9"</p>
|
|
7243
|
+
:rtype: str
|
|
7244
|
+
"""
|
|
7245
|
+
return self._AspectRatio
|
|
7246
|
+
|
|
7247
|
+
@AspectRatio.setter
|
|
7248
|
+
def AspectRatio(self, AspectRatio):
|
|
7249
|
+
self._AspectRatio = AspectRatio
|
|
7250
|
+
|
|
7251
|
+
@property
|
|
7252
|
+
def Width(self):
|
|
7253
|
+
r"""<p>目标宽度(像素)</p><p>取值范围:[0, 2048]</p>
|
|
7254
|
+
:rtype: int
|
|
7255
|
+
"""
|
|
7256
|
+
return self._Width
|
|
7257
|
+
|
|
7258
|
+
@Width.setter
|
|
7259
|
+
def Width(self, Width):
|
|
7260
|
+
self._Width = Width
|
|
7261
|
+
|
|
7262
|
+
@property
|
|
7263
|
+
def Height(self):
|
|
7264
|
+
r"""<p>目标高度(像素)</p><p>取值范围:[0, 2048]</p>
|
|
7265
|
+
:rtype: int
|
|
7266
|
+
"""
|
|
7267
|
+
return self._Height
|
|
7268
|
+
|
|
7269
|
+
@Height.setter
|
|
7270
|
+
def Height(self, Height):
|
|
7271
|
+
self._Height = Height
|
|
7272
|
+
|
|
7273
|
+
|
|
7274
|
+
def _deserialize(self, params):
|
|
7275
|
+
self._Switch = params.get("Switch")
|
|
7276
|
+
self._AspectRatio = params.get("AspectRatio")
|
|
7277
|
+
self._Width = params.get("Width")
|
|
7278
|
+
self._Height = params.get("Height")
|
|
7279
|
+
memeber_set = set(params.keys())
|
|
7280
|
+
for name, value in vars(self).items():
|
|
7281
|
+
property_name = name[1:]
|
|
7282
|
+
if property_name in memeber_set:
|
|
7283
|
+
memeber_set.remove(property_name)
|
|
7284
|
+
if len(memeber_set) > 0:
|
|
7285
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7286
|
+
|
|
7287
|
+
|
|
7288
|
+
|
|
7140
7289
|
class AiParagraphInfo(AbstractModel):
|
|
7141
7290
|
r"""分段信息。
|
|
7142
7291
|
|
|
@@ -13176,6 +13325,57 @@ class AiSampleWordInfo(AbstractModel):
|
|
|
13176
13325
|
|
|
13177
13326
|
|
|
13178
13327
|
|
|
13328
|
+
class AiStoryboardConfig(AbstractModel):
|
|
13329
|
+
r"""智能分镜拆解配置。
|
|
13330
|
+
|
|
13331
|
+
"""
|
|
13332
|
+
|
|
13333
|
+
def __init__(self):
|
|
13334
|
+
r"""
|
|
13335
|
+
:param _Switch: <p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
|
|
13336
|
+
:type Switch: str
|
|
13337
|
+
:param _ProcessIndex: <p>指定提取的分镜图的序号,从0开始计数,不填写则返回所有分镜图。</p>
|
|
13338
|
+
:type ProcessIndex: int
|
|
13339
|
+
"""
|
|
13340
|
+
self._Switch = None
|
|
13341
|
+
self._ProcessIndex = None
|
|
13342
|
+
|
|
13343
|
+
@property
|
|
13344
|
+
def Switch(self):
|
|
13345
|
+
r"""<p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
|
|
13346
|
+
:rtype: str
|
|
13347
|
+
"""
|
|
13348
|
+
return self._Switch
|
|
13349
|
+
|
|
13350
|
+
@Switch.setter
|
|
13351
|
+
def Switch(self, Switch):
|
|
13352
|
+
self._Switch = Switch
|
|
13353
|
+
|
|
13354
|
+
@property
|
|
13355
|
+
def ProcessIndex(self):
|
|
13356
|
+
r"""<p>指定提取的分镜图的序号,从0开始计数,不填写则返回所有分镜图。</p>
|
|
13357
|
+
:rtype: int
|
|
13358
|
+
"""
|
|
13359
|
+
return self._ProcessIndex
|
|
13360
|
+
|
|
13361
|
+
@ProcessIndex.setter
|
|
13362
|
+
def ProcessIndex(self, ProcessIndex):
|
|
13363
|
+
self._ProcessIndex = ProcessIndex
|
|
13364
|
+
|
|
13365
|
+
|
|
13366
|
+
def _deserialize(self, params):
|
|
13367
|
+
self._Switch = params.get("Switch")
|
|
13368
|
+
self._ProcessIndex = params.get("ProcessIndex")
|
|
13369
|
+
memeber_set = set(params.keys())
|
|
13370
|
+
for name, value in vars(self).items():
|
|
13371
|
+
property_name = name[1:]
|
|
13372
|
+
if property_name in memeber_set:
|
|
13373
|
+
memeber_set.remove(property_name)
|
|
13374
|
+
if len(memeber_set) > 0:
|
|
13375
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13376
|
+
|
|
13377
|
+
|
|
13378
|
+
|
|
13179
13379
|
class AiTryOnConfig(AbstractModel):
|
|
13180
13380
|
r"""虚拟试穿任务配置。
|
|
13181
13381
|
|
|
@@ -53260,6 +53460,12 @@ class ImageTaskInput(AbstractModel):
|
|
|
53260
53460
|
:type AiPosterSuiteConfig: :class:`tencentcloud.mps.v20190612.models.AiPosterSuiteConfig`
|
|
53261
53461
|
:param _CreateImageConfig: <p>生图任务配置</p>
|
|
53262
53462
|
:type CreateImageConfig: :class:`tencentcloud.mps.v20190612.models.CreateImageConfig`
|
|
53463
|
+
:param _AiCutoutConfig: <p>Ai抠图配置</p>
|
|
53464
|
+
:type AiCutoutConfig: :class:`tencentcloud.mps.v20190612.models.AiCutoutConfig`
|
|
53465
|
+
:param _AiExpansionConfig: <p>Ai扩图配置</p>
|
|
53466
|
+
:type AiExpansionConfig: :class:`tencentcloud.mps.v20190612.models.AiExpansionConfig`
|
|
53467
|
+
:param _AiStoryboardConfig: <p>Ai分镜拆解配置</p>
|
|
53468
|
+
:type AiStoryboardConfig: :class:`tencentcloud.mps.v20190612.models.AiStoryboardConfig`
|
|
53263
53469
|
"""
|
|
53264
53470
|
self._EncodeConfig = None
|
|
53265
53471
|
self._EnhanceConfig = None
|
|
@@ -53270,6 +53476,9 @@ class ImageTaskInput(AbstractModel):
|
|
|
53270
53476
|
self._AiTryOnConfig = None
|
|
53271
53477
|
self._AiPosterSuiteConfig = None
|
|
53272
53478
|
self._CreateImageConfig = None
|
|
53479
|
+
self._AiCutoutConfig = None
|
|
53480
|
+
self._AiExpansionConfig = None
|
|
53481
|
+
self._AiStoryboardConfig = None
|
|
53273
53482
|
|
|
53274
53483
|
@property
|
|
53275
53484
|
def EncodeConfig(self):
|
|
@@ -53374,6 +53583,39 @@ class ImageTaskInput(AbstractModel):
|
|
|
53374
53583
|
def CreateImageConfig(self, CreateImageConfig):
|
|
53375
53584
|
self._CreateImageConfig = CreateImageConfig
|
|
53376
53585
|
|
|
53586
|
+
@property
|
|
53587
|
+
def AiCutoutConfig(self):
|
|
53588
|
+
r"""<p>Ai抠图配置</p>
|
|
53589
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.AiCutoutConfig`
|
|
53590
|
+
"""
|
|
53591
|
+
return self._AiCutoutConfig
|
|
53592
|
+
|
|
53593
|
+
@AiCutoutConfig.setter
|
|
53594
|
+
def AiCutoutConfig(self, AiCutoutConfig):
|
|
53595
|
+
self._AiCutoutConfig = AiCutoutConfig
|
|
53596
|
+
|
|
53597
|
+
@property
|
|
53598
|
+
def AiExpansionConfig(self):
|
|
53599
|
+
r"""<p>Ai扩图配置</p>
|
|
53600
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.AiExpansionConfig`
|
|
53601
|
+
"""
|
|
53602
|
+
return self._AiExpansionConfig
|
|
53603
|
+
|
|
53604
|
+
@AiExpansionConfig.setter
|
|
53605
|
+
def AiExpansionConfig(self, AiExpansionConfig):
|
|
53606
|
+
self._AiExpansionConfig = AiExpansionConfig
|
|
53607
|
+
|
|
53608
|
+
@property
|
|
53609
|
+
def AiStoryboardConfig(self):
|
|
53610
|
+
r"""<p>Ai分镜拆解配置</p>
|
|
53611
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.AiStoryboardConfig`
|
|
53612
|
+
"""
|
|
53613
|
+
return self._AiStoryboardConfig
|
|
53614
|
+
|
|
53615
|
+
@AiStoryboardConfig.setter
|
|
53616
|
+
def AiStoryboardConfig(self, AiStoryboardConfig):
|
|
53617
|
+
self._AiStoryboardConfig = AiStoryboardConfig
|
|
53618
|
+
|
|
53377
53619
|
|
|
53378
53620
|
def _deserialize(self, params):
|
|
53379
53621
|
if params.get("EncodeConfig") is not None:
|
|
@@ -53403,6 +53645,15 @@ class ImageTaskInput(AbstractModel):
|
|
|
53403
53645
|
if params.get("CreateImageConfig") is not None:
|
|
53404
53646
|
self._CreateImageConfig = CreateImageConfig()
|
|
53405
53647
|
self._CreateImageConfig._deserialize(params.get("CreateImageConfig"))
|
|
53648
|
+
if params.get("AiCutoutConfig") is not None:
|
|
53649
|
+
self._AiCutoutConfig = AiCutoutConfig()
|
|
53650
|
+
self._AiCutoutConfig._deserialize(params.get("AiCutoutConfig"))
|
|
53651
|
+
if params.get("AiExpansionConfig") is not None:
|
|
53652
|
+
self._AiExpansionConfig = AiExpansionConfig()
|
|
53653
|
+
self._AiExpansionConfig._deserialize(params.get("AiExpansionConfig"))
|
|
53654
|
+
if params.get("AiStoryboardConfig") is not None:
|
|
53655
|
+
self._AiStoryboardConfig = AiStoryboardConfig()
|
|
53656
|
+
self._AiStoryboardConfig._deserialize(params.get("AiStoryboardConfig"))
|
|
53406
53657
|
memeber_set = set(params.keys())
|
|
53407
53658
|
for name, value in vars(self).items():
|
|
53408
53659
|
property_name = name[1:]
|
|
@@ -69696,6 +69947,102 @@ class ParseNotificationResponse(AbstractModel):
|
|
|
69696
69947
|
self._RequestId = params.get("RequestId")
|
|
69697
69948
|
|
|
69698
69949
|
|
|
69950
|
+
class PatternConfig(AbstractModel):
|
|
69951
|
+
r"""印花提取配置。
|
|
69952
|
+
|
|
69953
|
+
"""
|
|
69954
|
+
|
|
69955
|
+
def __init__(self):
|
|
69956
|
+
r"""
|
|
69957
|
+
:param _TransparencyThreshold: <p>透明度阈值</p><p>取值范围:[0, 255]</p><p>默认值:30</p>
|
|
69958
|
+
:type TransparencyThreshold: int
|
|
69959
|
+
:param _OpaqueThreshold: <p>不透明阈值,必须大于TransparencyThreshold</p><p>取值范围:[0, 255]</p><p>默认值:127</p>
|
|
69960
|
+
:type OpaqueThreshold: int
|
|
69961
|
+
:param _EdgeSamplingStep: <p>边缘采样步数,默认5</p><p>取值范围:[1, 10]</p>
|
|
69962
|
+
:type EdgeSamplingStep: int
|
|
69963
|
+
:param _EdgeExpansionStep: <p>边缘扩展步数,默认5</p>
|
|
69964
|
+
:type EdgeExpansionStep: int
|
|
69965
|
+
:param _EdgeBlendingIntensity: <p>边缘融合强度,默认0.5</p><p>取值范围:[0, 1.0]</p>
|
|
69966
|
+
:type EdgeBlendingIntensity: float
|
|
69967
|
+
"""
|
|
69968
|
+
self._TransparencyThreshold = None
|
|
69969
|
+
self._OpaqueThreshold = None
|
|
69970
|
+
self._EdgeSamplingStep = None
|
|
69971
|
+
self._EdgeExpansionStep = None
|
|
69972
|
+
self._EdgeBlendingIntensity = None
|
|
69973
|
+
|
|
69974
|
+
@property
|
|
69975
|
+
def TransparencyThreshold(self):
|
|
69976
|
+
r"""<p>透明度阈值</p><p>取值范围:[0, 255]</p><p>默认值:30</p>
|
|
69977
|
+
:rtype: int
|
|
69978
|
+
"""
|
|
69979
|
+
return self._TransparencyThreshold
|
|
69980
|
+
|
|
69981
|
+
@TransparencyThreshold.setter
|
|
69982
|
+
def TransparencyThreshold(self, TransparencyThreshold):
|
|
69983
|
+
self._TransparencyThreshold = TransparencyThreshold
|
|
69984
|
+
|
|
69985
|
+
@property
|
|
69986
|
+
def OpaqueThreshold(self):
|
|
69987
|
+
r"""<p>不透明阈值,必须大于TransparencyThreshold</p><p>取值范围:[0, 255]</p><p>默认值:127</p>
|
|
69988
|
+
:rtype: int
|
|
69989
|
+
"""
|
|
69990
|
+
return self._OpaqueThreshold
|
|
69991
|
+
|
|
69992
|
+
@OpaqueThreshold.setter
|
|
69993
|
+
def OpaqueThreshold(self, OpaqueThreshold):
|
|
69994
|
+
self._OpaqueThreshold = OpaqueThreshold
|
|
69995
|
+
|
|
69996
|
+
@property
|
|
69997
|
+
def EdgeSamplingStep(self):
|
|
69998
|
+
r"""<p>边缘采样步数,默认5</p><p>取值范围:[1, 10]</p>
|
|
69999
|
+
:rtype: int
|
|
70000
|
+
"""
|
|
70001
|
+
return self._EdgeSamplingStep
|
|
70002
|
+
|
|
70003
|
+
@EdgeSamplingStep.setter
|
|
70004
|
+
def EdgeSamplingStep(self, EdgeSamplingStep):
|
|
70005
|
+
self._EdgeSamplingStep = EdgeSamplingStep
|
|
70006
|
+
|
|
70007
|
+
@property
|
|
70008
|
+
def EdgeExpansionStep(self):
|
|
70009
|
+
r"""<p>边缘扩展步数,默认5</p>
|
|
70010
|
+
:rtype: int
|
|
70011
|
+
"""
|
|
70012
|
+
return self._EdgeExpansionStep
|
|
70013
|
+
|
|
70014
|
+
@EdgeExpansionStep.setter
|
|
70015
|
+
def EdgeExpansionStep(self, EdgeExpansionStep):
|
|
70016
|
+
self._EdgeExpansionStep = EdgeExpansionStep
|
|
70017
|
+
|
|
70018
|
+
@property
|
|
70019
|
+
def EdgeBlendingIntensity(self):
|
|
70020
|
+
r"""<p>边缘融合强度,默认0.5</p><p>取值范围:[0, 1.0]</p>
|
|
70021
|
+
:rtype: float
|
|
70022
|
+
"""
|
|
70023
|
+
return self._EdgeBlendingIntensity
|
|
70024
|
+
|
|
70025
|
+
@EdgeBlendingIntensity.setter
|
|
70026
|
+
def EdgeBlendingIntensity(self, EdgeBlendingIntensity):
|
|
70027
|
+
self._EdgeBlendingIntensity = EdgeBlendingIntensity
|
|
70028
|
+
|
|
70029
|
+
|
|
70030
|
+
def _deserialize(self, params):
|
|
70031
|
+
self._TransparencyThreshold = params.get("TransparencyThreshold")
|
|
70032
|
+
self._OpaqueThreshold = params.get("OpaqueThreshold")
|
|
70033
|
+
self._EdgeSamplingStep = params.get("EdgeSamplingStep")
|
|
70034
|
+
self._EdgeExpansionStep = params.get("EdgeExpansionStep")
|
|
70035
|
+
self._EdgeBlendingIntensity = params.get("EdgeBlendingIntensity")
|
|
70036
|
+
memeber_set = set(params.keys())
|
|
70037
|
+
for name, value in vars(self).items():
|
|
70038
|
+
property_name = name[1:]
|
|
70039
|
+
if property_name in memeber_set:
|
|
70040
|
+
memeber_set.remove(property_name)
|
|
70041
|
+
if len(memeber_set) > 0:
|
|
70042
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
70043
|
+
|
|
70044
|
+
|
|
70045
|
+
|
|
69699
70046
|
class PidSelector(AbstractModel):
|
|
69700
70047
|
r"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
|
69701
70048
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.147
|
|
4
4
|
Summary: Tencent Cloud Mps 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.147
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.147
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|