@opencvjs/types 4.10.0-release.1 → 4.10.0-release.3
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/README.md +1 -1
- package/lib/opencv/helpers.d.ts +1 -1
- package/lib/opencv/imgproc_filter.d.ts +3 -3
- package/lib/opencv/imgproc_shape.d.ts +6 -6
- package/package.json +1 -2
- package/tsconfig.json +1 -13
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ import type { OpenCV } from "@opencvjs/types";
|
|
|
16
16
|
|
|
17
17
|
## Credits
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
TypeScript definitions are based on the [@techstark/opencv-js](https://github.com/TechStark/opencv-js) and [mirada](https://github.com/cancerberoSgx/mirada) projects.
|
|
20
20
|
|
|
21
21
|
## License
|
|
22
22
|
|
package/lib/opencv/helpers.d.ts
CHANGED
|
@@ -249,7 +249,7 @@ export declare const CV_64FC2: CVDataType;
|
|
|
249
249
|
export declare const CV_64FC3: CVDataType;
|
|
250
250
|
export declare const CV_64FC4: CVDataType;
|
|
251
251
|
|
|
252
|
-
export type CVDataType =
|
|
252
|
+
export type CVDataType = number;
|
|
253
253
|
|
|
254
254
|
export declare function ellipse1(
|
|
255
255
|
dst: Mat,
|
|
@@ -911,8 +911,8 @@ export declare const MORPH_HITMISS: MorphTypes; // initializer: = 7
|
|
|
911
911
|
|
|
912
912
|
export declare const FILTER_SCHARR: SpecialFilter; // initializer: = -1
|
|
913
913
|
|
|
914
|
-
export type MorphShapes =
|
|
914
|
+
export type MorphShapes = number;
|
|
915
915
|
|
|
916
|
-
export type MorphTypes =
|
|
916
|
+
export type MorphTypes = number;
|
|
917
917
|
|
|
918
|
-
export type SpecialFilter =
|
|
918
|
+
export type SpecialFilter = number;
|
|
@@ -711,14 +711,14 @@ export declare const CONTOURS_MATCH_I2: ShapeMatchModes; // initializer: =2
|
|
|
711
711
|
|
|
712
712
|
export declare const CONTOURS_MATCH_I3: ShapeMatchModes; // initializer: =3
|
|
713
713
|
|
|
714
|
-
export type ConnectedComponentsAlgorithmsTypes =
|
|
714
|
+
export type ConnectedComponentsAlgorithmsTypes = number;
|
|
715
715
|
|
|
716
|
-
export type ConnectedComponentsTypes =
|
|
716
|
+
export type ConnectedComponentsTypes = number;
|
|
717
717
|
|
|
718
|
-
export type ContourApproximationModes =
|
|
718
|
+
export type ContourApproximationModes = number;
|
|
719
719
|
|
|
720
|
-
export type RectanglesIntersectTypes =
|
|
720
|
+
export type RectanglesIntersectTypes = number;
|
|
721
721
|
|
|
722
|
-
export type RetrievalModes =
|
|
722
|
+
export type RetrievalModes = number;
|
|
723
723
|
|
|
724
|
-
export type ShapeMatchModes =
|
|
724
|
+
export type ShapeMatchModes = number;
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencvjs/types",
|
|
3
|
-
"version": "4.10.0-release.
|
|
3
|
+
"version": "4.10.0-release.3",
|
|
4
4
|
"author": "ocavue <ocavue@gmail.com>",
|
|
5
|
-
"packageManager": "pnpm@9.12.3",
|
|
6
5
|
"repository": "https://github.com/ocavue/opencvjs",
|
|
7
6
|
"types": "./lib/index.d.ts",
|
|
8
7
|
"devDependencies": {
|
package/tsconfig.json
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"skipLibCheck": false,
|
|
4
|
-
"target": "es2022",
|
|
5
|
-
"moduleDetection": "force",
|
|
6
|
-
"isolatedModules": true,
|
|
7
|
-
"verbatimModuleSyntax": true,
|
|
8
|
-
"strict": true,
|
|
9
|
-
"noUncheckedIndexedAccess": true,
|
|
10
|
-
"noImplicitOverride": true,
|
|
11
|
-
"module": "ESNext",
|
|
12
|
-
"noEmit": true,
|
|
13
|
-
"lib": ["es2022", "DOM"]
|
|
14
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json"
|
|
15
3
|
}
|