tencentcloud-sdk-mps 3.0.828 → 3.0.829
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +46 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e09651e9f9f601f05e369da16f0386472fc9dc40
|
4
|
+
data.tar.gz: f36f6dcd95939ffe1c21e2c92aa13174dc396387
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9192a928cda98c5a86b1192ae3476732579356fbc7362828d74f179d1d3f859399196979560f33ed4d8ab3be64aa1c646b7a3955975b8f1f9a6ca21de7aeabfe
|
7
|
+
data.tar.gz: 1bd52d4c6b904609696ca92ec0cfd7b5fa4f59649681fa1fc97ba2e13c147cb559e9cdceae856498ce6c170fb5fe974fa205ad224d3d8ce144d777455b193799
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.829
|
data/lib/v20190612/models.rb
CHANGED
@@ -12595,6 +12595,7 @@ module TencentCloud
|
|
12595
12595
|
# <li>AsrFullTextRecognition:语音全文识别,</li>
|
12596
12596
|
# <li>OcrFullTextRecognition:文本全文识别。</li>
|
12597
12597
|
# <li>TransTextRecognition:语音翻译。</li>
|
12598
|
+
# <li>ObjectRecognition:目标检测。</li>
|
12598
12599
|
# <li>TagRecognition:精彩打点。</li>
|
12599
12600
|
# @type Type: String
|
12600
12601
|
# @param FaceRecognitionResultSet: 人脸识别结果,当 Type 为
|
@@ -12614,13 +12615,15 @@ module TencentCloud
|
|
12614
12615
|
# @type OcrFullTextRecognitionResultSet: Array
|
12615
12616
|
# @param TransTextRecognitionResultSet: 翻译结果,当Type 为 TransTextRecognition 时有效。
|
12616
12617
|
# @type TransTextRecognitionResultSet: Array
|
12618
|
+
# @param ObjectRecognitionResultSet: 目标检测结果,当Type为 ObjectRecognition 时有效。
|
12619
|
+
# @type ObjectRecognitionResultSet: Array
|
12617
12620
|
# @param TagRecognitionResultSet: 打点结果,当Type 为 TagRecognition 时有效。
|
12618
12621
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12619
12622
|
# @type TagRecognitionResultSet: Array
|
12620
12623
|
|
12621
|
-
attr_accessor :Type, :FaceRecognitionResultSet, :AsrWordsRecognitionResultSet, :OcrWordsRecognitionResultSet, :AsrFullTextRecognitionResultSet, :OcrFullTextRecognitionResultSet, :TransTextRecognitionResultSet, :TagRecognitionResultSet
|
12624
|
+
attr_accessor :Type, :FaceRecognitionResultSet, :AsrWordsRecognitionResultSet, :OcrWordsRecognitionResultSet, :AsrFullTextRecognitionResultSet, :OcrFullTextRecognitionResultSet, :TransTextRecognitionResultSet, :ObjectRecognitionResultSet, :TagRecognitionResultSet
|
12622
12625
|
|
12623
|
-
def initialize(type=nil, facerecognitionresultset=nil, asrwordsrecognitionresultset=nil, ocrwordsrecognitionresultset=nil, asrfulltextrecognitionresultset=nil, ocrfulltextrecognitionresultset=nil, transtextrecognitionresultset=nil, tagrecognitionresultset=nil)
|
12626
|
+
def initialize(type=nil, facerecognitionresultset=nil, asrwordsrecognitionresultset=nil, ocrwordsrecognitionresultset=nil, asrfulltextrecognitionresultset=nil, ocrfulltextrecognitionresultset=nil, transtextrecognitionresultset=nil, objectrecognitionresultset=nil, tagrecognitionresultset=nil)
|
12624
12627
|
@Type = type
|
12625
12628
|
@FaceRecognitionResultSet = facerecognitionresultset
|
12626
12629
|
@AsrWordsRecognitionResultSet = asrwordsrecognitionresultset
|
@@ -12628,6 +12631,7 @@ module TencentCloud
|
|
12628
12631
|
@AsrFullTextRecognitionResultSet = asrfulltextrecognitionresultset
|
12629
12632
|
@OcrFullTextRecognitionResultSet = ocrfulltextrecognitionresultset
|
12630
12633
|
@TransTextRecognitionResultSet = transtextrecognitionresultset
|
12634
|
+
@ObjectRecognitionResultSet = objectrecognitionresultset
|
12631
12635
|
@TagRecognitionResultSet = tagrecognitionresultset
|
12632
12636
|
end
|
12633
12637
|
|
@@ -12681,6 +12685,14 @@ module TencentCloud
|
|
12681
12685
|
@TransTextRecognitionResultSet << livestreamtranstextrecognitionresult_tmp
|
12682
12686
|
end
|
12683
12687
|
end
|
12688
|
+
unless params['ObjectRecognitionResultSet'].nil?
|
12689
|
+
@ObjectRecognitionResultSet = []
|
12690
|
+
params['ObjectRecognitionResultSet'].each do |i|
|
12691
|
+
livestreamobjectrecognitionresult_tmp = LiveStreamObjectRecognitionResult.new
|
12692
|
+
livestreamobjectrecognitionresult_tmp.deserialize(i)
|
12693
|
+
@ObjectRecognitionResultSet << livestreamobjectrecognitionresult_tmp
|
12694
|
+
end
|
12695
|
+
end
|
12684
12696
|
unless params['TagRecognitionResultSet'].nil?
|
12685
12697
|
@TagRecognitionResultSet = []
|
12686
12698
|
params['TagRecognitionResultSet'].each do |i|
|
@@ -13081,6 +13093,38 @@ module TencentCloud
|
|
13081
13093
|
end
|
13082
13094
|
end
|
13083
13095
|
|
13096
|
+
# 直播 AI 物体识别结果
|
13097
|
+
class LiveStreamObjectRecognitionResult < TencentCloud::Common::AbstractModel
|
13098
|
+
# @param Name: 识别的物体名称。
|
13099
|
+
# @type Name: String
|
13100
|
+
# @param StartPtsOffset: 识别片段起始的 PTS 时间,单位:秒。
|
13101
|
+
# @type StartPtsOffset: Float
|
13102
|
+
# @param EndPtsOffset: 识别片段终止的 PTS 时间,单位:秒。
|
13103
|
+
# @type EndPtsOffset: Float
|
13104
|
+
# @param Confidence: 识别片段置信度。取值:0~100。
|
13105
|
+
# @type Confidence: Float
|
13106
|
+
# @param AreaCoordSet: 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
|
13107
|
+
# @type AreaCoordSet: Array
|
13108
|
+
|
13109
|
+
attr_accessor :Name, :StartPtsOffset, :EndPtsOffset, :Confidence, :AreaCoordSet
|
13110
|
+
|
13111
|
+
def initialize(name=nil, startptsoffset=nil, endptsoffset=nil, confidence=nil, areacoordset=nil)
|
13112
|
+
@Name = name
|
13113
|
+
@StartPtsOffset = startptsoffset
|
13114
|
+
@EndPtsOffset = endptsoffset
|
13115
|
+
@Confidence = confidence
|
13116
|
+
@AreaCoordSet = areacoordset
|
13117
|
+
end
|
13118
|
+
|
13119
|
+
def deserialize(params)
|
13120
|
+
@Name = params['Name']
|
13121
|
+
@StartPtsOffset = params['StartPtsOffset']
|
13122
|
+
@EndPtsOffset = params['EndPtsOffset']
|
13123
|
+
@Confidence = params['Confidence']
|
13124
|
+
@AreaCoordSet = params['AreaCoordSet']
|
13125
|
+
end
|
13126
|
+
end
|
13127
|
+
|
13084
13128
|
# 直播识别 Ocr 全文识别
|
13085
13129
|
class LiveStreamOcrFullTextRecognitionResult < TencentCloud::Common::AbstractModel
|
13086
13130
|
# @param Text: 语音文本。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.829
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|