tencentcloud-sdk-ocr 3.0.1124 → 3.0.1127
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +7 -23
- data/lib/v20181119/models.rb +2 -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: ecabcfc31caae5e9f639705bbff5c1a5b367fae5
|
4
|
+
data.tar.gz: de42dd2d5404ea99089a1158b2533d56bae94fd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88b6fcd750f5bcd99f845fc0f483a6c5fcde539b11c8856905580e710579353d54e5130e1f9fb461e39a23bb113afb00b1947ab3c8920004fc8eddea7f1e378e
|
7
|
+
data.tar.gz: 9989ae2ae6c55f9b5c36e9fc7a9831be4ad26913f6e02df0dbc0c75a5c1d47b2f014be823b7f8bb13754234b05f7f9a934a785ee7a96ef2c1f9528a90a87a6d5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1127
|
data/lib/v20181119/client.rb
CHANGED
@@ -652,8 +652,7 @@ module TencentCloud
|
|
652
652
|
# <tr>
|
653
653
|
# <th style="width:150px"></th>
|
654
654
|
# <th >【荐】通用印刷体识别(高精度版)</th>
|
655
|
-
# <th style="width:
|
656
|
-
# <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
655
|
+
# <th style="width:300px"><a href="https://cloud.tencent.com/document/product/866/33526">【荐】通用印刷体识别</a></th>
|
657
656
|
# </tr>
|
658
657
|
# </thead>
|
659
658
|
# <tbody>
|
@@ -661,43 +660,36 @@ module TencentCloud
|
|
661
660
|
# <td> 适用场景</td>
|
662
661
|
# <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
663
662
|
# <td>适用于所有通用场景的印刷体识别</td>
|
664
|
-
# <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
665
663
|
# </tr>
|
666
664
|
# <tr>
|
667
665
|
# <td>识别准确率</td>
|
668
666
|
# <td>99%</td>
|
669
667
|
# <td>96%</td>
|
670
|
-
# <td>91%</td>
|
671
668
|
# </tr>
|
672
669
|
# <tr>
|
673
670
|
# <td>价格</td>
|
674
|
-
# <td>高</td>
|
675
671
|
# <td>中</td>
|
676
672
|
# <td>低</td>
|
677
673
|
# </tr>
|
678
674
|
# <tr>
|
679
675
|
# <td>支持的语言</td>
|
680
|
-
# <td
|
676
|
+
# <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
681
677
|
# <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
682
|
-
# <td>中文、英文、中英文</td>
|
683
678
|
# </tr>
|
684
679
|
# <tr>
|
685
680
|
# <td>自动语言检测</td>
|
686
|
-
# <td
|
687
|
-
# <td>支持</td>
|
681
|
+
# <td>中英文支持;其他语言需要调整输入参数</td>
|
688
682
|
# <td>支持</td>
|
689
683
|
# </tr>
|
690
684
|
# <tr>
|
691
685
|
# <td>返回文本行坐标</td>
|
692
686
|
# <td>支持</td>
|
693
687
|
# <td>支持</td>
|
694
|
-
# <td>支持</td>
|
695
688
|
# </tr>
|
696
689
|
# <tr>
|
697
690
|
# <td>自动旋转纠正</td>
|
698
691
|
# <td>支持旋转识别,返回角度信息</td>
|
699
692
|
# <td>支持旋转识别,返回角度信息</td>
|
700
|
-
# <td>支持旋转识别,返回角度信息</td>
|
701
693
|
# </tr>
|
702
694
|
# </tbody>
|
703
695
|
# </table>
|
@@ -737,9 +729,8 @@ module TencentCloud
|
|
737
729
|
# <thead>
|
738
730
|
# <tr>
|
739
731
|
# <th style="width:150px"></th>
|
740
|
-
# <th style="width:
|
732
|
+
# <th style="width:250px">【荐】通用印刷体识别</th>
|
741
733
|
# <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
742
|
-
# <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
743
734
|
# </tr>
|
744
735
|
# </thead>
|
745
736
|
# <tbody>
|
@@ -747,43 +738,36 @@ module TencentCloud
|
|
747
738
|
# <td> 适用场景</td>
|
748
739
|
# <td>适用于所有通用场景的印刷体识别</td>
|
749
740
|
# <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
750
|
-
# <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
751
741
|
# </tr>
|
752
742
|
# <tr>
|
753
743
|
# <td>识别准确率</td>
|
754
744
|
# <td>96%</td>
|
755
745
|
# <td>99%</td>
|
756
|
-
# <td>91%</td>
|
757
746
|
# </tr>
|
758
747
|
# <tr>
|
759
748
|
# <td>价格</td>
|
760
|
-
# <td>中</td>
|
761
|
-
# <td>高</td>
|
762
749
|
# <td>低</td>
|
750
|
+
# <td>中</td>
|
763
751
|
# </tr>
|
764
752
|
# <tr>
|
765
753
|
# <td>支持的语言</td>
|
766
754
|
# <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
767
|
-
# <td
|
768
|
-
# <td>中文、英文、中英文</td>
|
755
|
+
# <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
769
756
|
# </tr>
|
770
757
|
# <tr>
|
771
758
|
# <td>自动语言检测</td>
|
772
759
|
# <td>支持</td>
|
773
|
-
# <td
|
774
|
-
# <td>支持</td>
|
760
|
+
# <td>中英文支持;其他语种需要调整输入参数</td>
|
775
761
|
# </tr>
|
776
762
|
# <tr>
|
777
763
|
# <td>返回文本行坐标</td>
|
778
764
|
# <td>支持</td>
|
779
765
|
# <td>支持</td>
|
780
|
-
# <td>支持</td>
|
781
766
|
# </tr>
|
782
767
|
# <tr>
|
783
768
|
# <td>自动旋转纠正</td>
|
784
769
|
# <td>支持旋转识别,返回角度信息</td>
|
785
770
|
# <td>支持旋转识别,返回角度信息</td>
|
786
|
-
# <td>支持旋转识别,返回角度信息</td>
|
787
771
|
# </tr>
|
788
772
|
# </tbody>
|
789
773
|
# </table>
|
data/lib/v20181119/models.rb
CHANGED
@@ -9461,9 +9461,9 @@ module TencentCloud
|
|
9461
9461
|
|
9462
9462
|
# RecognizeTableAccurateOCR请求参数结构体
|
9463
9463
|
class RecognizeTableAccurateOCRRequest < TencentCloud::Common::AbstractModel
|
9464
|
-
# @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF
|
9464
|
+
# @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9465
9465
|
# @type ImageBase64: String
|
9466
|
-
# @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF
|
9466
|
+
# @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9467
9467
|
# @type ImageUrl: String
|
9468
9468
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF有效,默认值为1。
|
9469
9469
|
# @type PdfPageNumber: Integer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1127
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|