tencentcloud-sdk-nodejs-ocr 4.1.218 → 4.1.223
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.
package/package.json
CHANGED
|
@@ -1952,36 +1952,36 @@ export interface OtherInvoiceItem {
|
|
|
1952
1952
|
*/
|
|
1953
1953
|
export interface TextDetection {
|
|
1954
1954
|
/**
|
|
1955
|
-
* <p
|
|
1955
|
+
* <p>识别出的文本行内容。</p>
|
|
1956
1956
|
*/
|
|
1957
1957
|
DetectedText?: string;
|
|
1958
1958
|
/**
|
|
1959
|
-
* <p>置信度 0 ~100
|
|
1959
|
+
* <p>置信度 0 ~100。</p>
|
|
1960
1960
|
*/
|
|
1961
1961
|
Confidence?: number;
|
|
1962
1962
|
/**
|
|
1963
|
-
* <p
|
|
1963
|
+
* <p>文本行坐标,以四个顶点坐标表示。</p>
|
|
1964
1964
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1965
1965
|
*/
|
|
1966
1966
|
Polygon?: Array<Coord>;
|
|
1967
1967
|
/**
|
|
1968
|
-
* <p
|
|
1968
|
+
* <p>此字段为扩展字段。GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。</p>
|
|
1969
1969
|
*/
|
|
1970
1970
|
AdvancedInfo?: string;
|
|
1971
1971
|
/**
|
|
1972
|
-
* <p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height
|
|
1972
|
+
* <p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)。</p>
|
|
1973
1973
|
*/
|
|
1974
1974
|
ItemPolygon?: ItemCoord;
|
|
1975
1975
|
/**
|
|
1976
|
-
* <p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
1976
|
+
* <p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR。</p>
|
|
1977
1977
|
*/
|
|
1978
1978
|
Words?: Array<DetectedWords>;
|
|
1979
1979
|
/**
|
|
1980
|
-
* <p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
1980
|
+
* <p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR。</p>
|
|
1981
1981
|
*/
|
|
1982
1982
|
WordCoordPoint?: Array<DetectedWordCoordPoint>;
|
|
1983
1983
|
/**
|
|
1984
|
-
* <p
|
|
1984
|
+
* <p>语种信息。注:仅ConfigID配置为MulOCR时支持。zh:中文; en:英文; tha:泰语; may:印尼语; jap:日语; kor:韩语; spa:西班牙语; fre:法语; ger:德语; por:葡萄牙语; vie:越南语; may:马来语; rus:俄语; ita:意大利语; hol:荷兰语; swe:瑞典语; fin:芬兰语; nor:挪威语; hun:匈牙利语; ara:阿拉伯语; hi:印地语。</p>
|
|
1985
1985
|
*/
|
|
1986
1986
|
Language?: string;
|
|
1987
1987
|
}
|
|
@@ -6615,11 +6615,11 @@ export interface SmartStructuralOCRResponse {
|
|
|
6615
6615
|
*/
|
|
6616
6616
|
export interface DetectedWords {
|
|
6617
6617
|
/**
|
|
6618
|
-
*
|
|
6618
|
+
* <p>置信度 0 ~100。</p>
|
|
6619
6619
|
*/
|
|
6620
6620
|
Confidence?: number;
|
|
6621
6621
|
/**
|
|
6622
|
-
*
|
|
6622
|
+
* <p>候选字Character。</p>
|
|
6623
6623
|
*/
|
|
6624
6624
|
Character?: string;
|
|
6625
6625
|
}
|
|
@@ -7727,11 +7727,11 @@ export interface RecognizeTableAccurateOCRRequest {
|
|
|
7727
7727
|
*/
|
|
7728
7728
|
export interface Coord {
|
|
7729
7729
|
/**
|
|
7730
|
-
*
|
|
7730
|
+
* <p>横坐标。</p>
|
|
7731
7731
|
*/
|
|
7732
7732
|
X?: number;
|
|
7733
7733
|
/**
|
|
7734
|
-
*
|
|
7734
|
+
* <p>纵坐标。</p>
|
|
7735
7735
|
*/
|
|
7736
7736
|
Y?: number;
|
|
7737
7737
|
}
|
|
@@ -8202,19 +8202,19 @@ export interface TollInvoice {
|
|
|
8202
8202
|
*/
|
|
8203
8203
|
export interface ItemCoord {
|
|
8204
8204
|
/**
|
|
8205
|
-
*
|
|
8205
|
+
* <p>左上角x。</p>
|
|
8206
8206
|
*/
|
|
8207
8207
|
X: number;
|
|
8208
8208
|
/**
|
|
8209
|
-
*
|
|
8209
|
+
* <p>左上角y。</p>
|
|
8210
8210
|
*/
|
|
8211
8211
|
Y: number;
|
|
8212
8212
|
/**
|
|
8213
|
-
*
|
|
8213
|
+
* <p>宽width。</p>
|
|
8214
8214
|
*/
|
|
8215
8215
|
Width: number;
|
|
8216
8216
|
/**
|
|
8217
|
-
*
|
|
8217
|
+
* <p>高height。</p>
|
|
8218
8218
|
*/
|
|
8219
8219
|
Height: number;
|
|
8220
8220
|
}
|