ms-types 0.0.35 → 0.0.36

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -50,6 +50,7 @@ declare namespace paddleOcr {
50
50
  * @param y 边界框左上角y坐标
51
51
  * @param ex 边界框右下角x坐标
52
52
  * @param ey 边界框右下角y坐标
53
+ * @param confidenceThreshold 置信度阈值,默认0.6
53
54
  * @returns 识别结果数组
54
55
  * @example
55
56
  * const results = paddleOcr.recognize("screen", 0, 0, 100, 100)
@@ -62,7 +63,8 @@ declare namespace paddleOcr {
62
63
  x: number,
63
64
  y: number,
64
65
  ex: number,
65
- ey: number
66
+ ey: number,
67
+ confidenceThreshold?: number
66
68
  ): OCRResult[];
67
69
  /**
68
70
  * 释放OCR模型资源