@kubohiroya/turbowarp-camera-source 0.15.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.
@@ -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
+ }