@kubohiroya/turbowarp-camera-source 0.16.0 → 0.17.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/README.ja.md +2 -2
- package/README.md +2 -2
- package/dist/calibration/camera-info.d.ts +2 -0
- package/dist/calibration/camera-info.d.ts.map +1 -1
- package/dist/calibration/camera-info.js +4 -0
- package/dist/calibration/camera-info.js.map +1 -1
- package/dist/camera-source.js +9745 -1401
- package/dist/profile.d.ts +1 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/lib-editor/schemas/camera-intrinsics-v1.json +346 -0
- package/lib-editor/schemas/editor-legacy-calibration.json +57 -0
- package/lib-editor/schemas/editor-ros-camera-info.json +29 -0
- package/lib-editor/src/calibration/camera-info.d.ts +33 -0
- package/lib-editor/src/calibration/camera-info.js +340 -0
- package/lib-editor/src/calibration/profile.d.ts +46 -0
- package/lib-editor/src/calibration/profile.js +479 -0
- package/lib-editor/src/calibration/types.d.ts +134 -0
- package/lib-editor/src/calibration/types.js +12 -0
- package/lib-editor/src/calibration/yaml.d.ts +20 -0
- package/lib-editor/src/calibration/yaml.js +444 -0
- package/lib-editor/src/editor-schema.d.ts +51 -0
- package/lib-editor/src/editor-schema.js +119 -0
- package/package.json +18 -7
- package/schemas/editor-legacy-calibration.json +57 -0
- package/schemas/editor-ros-camera-info.json +29 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-camera-source/schema/editor-legacy-calibration.json",
|
|
4
|
+
"title": "Existing Camera Source legacy input shape",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema",
|
|
8
|
+
"version",
|
|
9
|
+
"calibrationId",
|
|
10
|
+
"cameraId",
|
|
11
|
+
"imageWidth",
|
|
12
|
+
"imageHeight",
|
|
13
|
+
"intrinsicMatrix",
|
|
14
|
+
"distortionCoefficients",
|
|
15
|
+
"calibratedAt"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"schema": {
|
|
19
|
+
"const": "twrmc/camera-calibration"
|
|
20
|
+
},
|
|
21
|
+
"version": {
|
|
22
|
+
"const": 1
|
|
23
|
+
},
|
|
24
|
+
"calibrationId": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"cameraId": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"imageWidth": {
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
"imageHeight": {
|
|
34
|
+
"type": "number"
|
|
35
|
+
},
|
|
36
|
+
"intrinsicMatrix": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "number"
|
|
40
|
+
},
|
|
41
|
+
"minItems": 9,
|
|
42
|
+
"maxItems": 9
|
|
43
|
+
},
|
|
44
|
+
"distortionCoefficients": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"type": "number"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"calibratedAt": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"worldFromCameraMatrix": true,
|
|
54
|
+
"worldUnit": true
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-camera-source/schema/editor-ros-camera-info.json",
|
|
4
|
+
"title": "Raw ROS camera_info shape (owner validates matrices and metadata)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"image_width",
|
|
8
|
+
"image_height",
|
|
9
|
+
"camera_name",
|
|
10
|
+
"camera_matrix",
|
|
11
|
+
"distortion_coefficients",
|
|
12
|
+
"turbowarp_camera_source"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"image_width": true,
|
|
16
|
+
"image_height": true,
|
|
17
|
+
"camera_name": true,
|
|
18
|
+
"camera_matrix": true,
|
|
19
|
+
"distortion_model": true,
|
|
20
|
+
"distortion_coefficients": true,
|
|
21
|
+
"rectification_matrix": true,
|
|
22
|
+
"projection_matrix": true,
|
|
23
|
+
"binning_x": true,
|
|
24
|
+
"binning_y": true,
|
|
25
|
+
"roi": true,
|
|
26
|
+
"turbowarp_camera_source": true
|
|
27
|
+
},
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|