ms-types 0.9.27 → 0.9.28
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,8 +1,8 @@
|
|
|
1
|
-
---@meta
|
|
1
|
+
---@meta cv
|
|
2
2
|
---@class OpenCV
|
|
3
3
|
local _OpenCV = {}
|
|
4
4
|
|
|
5
|
-
--- OpenCV Mat 句柄模块;require("cv")
|
|
5
|
+
--- OpenCV Mat 句柄模块;require("cv")。方法与常量对齐 JS `cv` 运行时导出。
|
|
6
6
|
|
|
7
7
|
--- absdiff
|
|
8
8
|
---@param ... any
|
|
@@ -724,6 +724,5 @@ function _OpenCV.warpPerspective(...) return nil end
|
|
|
724
724
|
---@return any
|
|
725
725
|
function _OpenCV.zeros(...) return nil end
|
|
726
726
|
|
|
727
|
-
package.loaded['opencv'] = _OpenCV
|
|
728
727
|
package.loaded['cv'] = _OpenCV
|
|
729
728
|
return _OpenCV
|
package/types/lua/dotocr.lua
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
---@class DotOCR
|
|
3
3
|
local _DotOCR = {}
|
|
4
4
|
|
|
5
|
-
--- 点阵 OCR;require("dotocr")
|
|
5
|
+
--- 点阵 OCR;require("dotocr")
|
|
6
6
|
|
|
7
7
|
--- loadFont
|
|
8
8
|
---@param fontPath string
|
|
@@ -42,5 +42,4 @@ function _DotOCR.recognizeAbs(fontId, input, x, y, ex, ey, confidenceThreshold)
|
|
|
42
42
|
function _DotOCR.findTextAbs(fontId, input, targetTexts, x, y, ex, ey, confidenceThreshold, exactMatch) return {} end
|
|
43
43
|
|
|
44
44
|
package.loaded['dotocr'] = _DotOCR
|
|
45
|
-
package.loaded['dotOcr'] = _DotOCR
|
|
46
45
|
return _DotOCR
|
package/types/lua/yolocls.lua
CHANGED
package/types/lua/alias/cv.lua
DELETED