@wemap/camera 7.0.0 → 8.1.0-alpha.0
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/index.d.ts +17 -0
- package/package.json +3 -3
package/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare module '@wemap/camera' {
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export type IntrinsicParams = [number, number, number, number, number, number, number, number, number];
|
|
5
|
+
export type DistortionsParams = [number, number, number, number, number];
|
|
6
|
+
|
|
7
|
+
export type Calibration = {
|
|
8
|
+
intrinsic: IntrinsicParams,
|
|
9
|
+
distortions?: DistortionsParams
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class CameraUtils {
|
|
13
|
+
static createCameraCalibrationFromWidthHeightFov(width: number, height: number, fovOfWidth: number): Calibration;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "packages/camera"
|
|
12
12
|
},
|
|
13
13
|
"name": "@wemap/camera",
|
|
14
|
-
"version": "
|
|
14
|
+
"version": "8.1.0-alpha.0",
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/wemap/wemap-modules-js/issues"
|
|
17
17
|
},
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
],
|
|
24
24
|
"license": "ISC",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@wemap/logger": "^
|
|
26
|
+
"@wemap/logger": "^8.0.1",
|
|
27
27
|
"@zxing/library": "^0.18.4",
|
|
28
28
|
"events": "^3.3.0"
|
|
29
29
|
},
|
|
30
30
|
"type": "module",
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "9e87dcdc938ef2e2469bc18b3e88a25eb5b16c53"
|
|
32
32
|
}
|