@foxglove/schemas 1.6.2 → 1.6.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.
Files changed (111) hide show
  1. package/.github/workflows/ci.yml +11 -12
  2. package/.vscode/settings.json +2 -6
  3. package/README.md +11 -11
  4. package/internal/__snapshots__/exportTypeScriptSchemas.test.ts.snap +14 -5
  5. package/internal/generateFlatbufferSchema.d.ts +2 -2
  6. package/internal/generateFlatbufferSchema.d.ts.map +1 -1
  7. package/internal/generateFlatbufferSchema.js +4 -4
  8. package/internal/generateFlatbufferSchema.js.map +1 -1
  9. package/internal/generateFlatbufferSchema.test.js +25 -25
  10. package/internal/generateFlatbufferSchema.test.ts +25 -25
  11. package/internal/generateFlatbufferSchema.ts +4 -4
  12. package/internal/generateMarkdown.js +1 -1
  13. package/internal/generateMarkdown.ts +1 -1
  14. package/internal/generateRos.js +2 -2
  15. package/internal/generateRos.js.map +1 -1
  16. package/internal/generateRos.ts +2 -2
  17. package/internal/generateTypeScript.d.ts +1 -1
  18. package/internal/generateTypeScript.ts +1 -1
  19. package/internal/schemas.d.ts.map +1 -1
  20. package/internal/schemas.js +5 -5
  21. package/internal/schemas.js.map +1 -1
  22. package/internal/schemas.ts +8 -5
  23. package/package.json +1 -1
  24. package/python/Makefile +1 -0
  25. package/python/foxglove-schemas-flatbuffer/README.md +2 -2
  26. package/python/foxglove-schemas-flatbuffer/setup.cfg +1 -1
  27. package/python/foxglove-schemas-protobuf/README.md +2 -2
  28. package/python/foxglove-schemas-protobuf/setup.cfg +1 -1
  29. package/schemas/README.md +9 -6
  30. package/schemas/flatbuffer/ArrowPrimitive.fbs +6 -6
  31. package/schemas/flatbuffer/ByteVector.fbs +1 -1
  32. package/schemas/flatbuffer/CameraCalibration.fbs +10 -10
  33. package/schemas/flatbuffer/CircleAnnotation.fbs +8 -7
  34. package/schemas/flatbuffer/Color.fbs +4 -4
  35. package/schemas/flatbuffer/CompressedImage.fbs +4 -4
  36. package/schemas/flatbuffer/CompressedVideo.fbs +5 -5
  37. package/schemas/flatbuffer/CubePrimitive.fbs +3 -3
  38. package/schemas/flatbuffer/CylinderPrimitive.fbs +5 -5
  39. package/schemas/flatbuffer/Duration.fbs +1 -1
  40. package/schemas/flatbuffer/FrameTransform.fbs +5 -5
  41. package/schemas/flatbuffer/FrameTransforms.fbs +1 -1
  42. package/schemas/flatbuffer/GeoJSON.fbs +1 -1
  43. package/schemas/flatbuffer/Grid.fbs +9 -9
  44. package/schemas/flatbuffer/ImageAnnotations.fbs +3 -3
  45. package/schemas/flatbuffer/KeyValuePair.fbs +2 -2
  46. package/schemas/flatbuffer/LaserScan.fbs +7 -7
  47. package/schemas/flatbuffer/LinePrimitive.fbs +8 -8
  48. package/schemas/flatbuffer/LocationFix.fbs +7 -7
  49. package/schemas/flatbuffer/Log.fbs +6 -6
  50. package/schemas/flatbuffer/ModelPrimitive.fbs +7 -7
  51. package/schemas/flatbuffer/PackedElementField.fbs +3 -3
  52. package/schemas/flatbuffer/Point2.fbs +2 -2
  53. package/schemas/flatbuffer/Point3.fbs +3 -3
  54. package/schemas/flatbuffer/PointCloud.fbs +6 -6
  55. package/schemas/flatbuffer/PointsAnnotation.fbs +9 -8
  56. package/schemas/flatbuffer/Pose.fbs +2 -2
  57. package/schemas/flatbuffer/PoseInFrame.fbs +3 -3
  58. package/schemas/flatbuffer/PosesInFrame.fbs +3 -3
  59. package/schemas/flatbuffer/Quaternion.fbs +4 -4
  60. package/schemas/flatbuffer/RawImage.fbs +7 -7
  61. package/schemas/flatbuffer/SceneEntity.fbs +14 -14
  62. package/schemas/flatbuffer/SceneEntityDeletion.fbs +3 -3
  63. package/schemas/flatbuffer/SceneUpdate.fbs +2 -2
  64. package/schemas/flatbuffer/SpherePrimitive.fbs +3 -3
  65. package/schemas/flatbuffer/TextAnnotation.fbs +8 -7
  66. package/schemas/flatbuffer/TextPrimitive.fbs +6 -6
  67. package/schemas/flatbuffer/TriangleListPrimitive.fbs +5 -5
  68. package/schemas/flatbuffer/Vector2.fbs +2 -2
  69. package/schemas/flatbuffer/Vector3.fbs +3 -3
  70. package/schemas/jsonschema/CameraCalibration.json +1 -1
  71. package/schemas/jsonschema/CircleAnnotation.json +1 -1
  72. package/schemas/jsonschema/CompressedVideo.json +1 -1
  73. package/schemas/jsonschema/ImageAnnotations.json +3 -3
  74. package/schemas/jsonschema/PointsAnnotation.json +1 -1
  75. package/schemas/jsonschema/TextAnnotation.json +1 -1
  76. package/schemas/jsonschema/index.js +8 -8
  77. package/schemas/jsonschema/index.js.map +1 -1
  78. package/schemas/jsonschema/index.ts +8 -8
  79. package/schemas/omgidl/foxglove/CameraCalibration.idl +1 -1
  80. package/schemas/omgidl/foxglove/CircleAnnotation.idl +2 -1
  81. package/schemas/omgidl/foxglove/CompressedVideo.idl +1 -1
  82. package/schemas/omgidl/foxglove/PointsAnnotation.idl +2 -1
  83. package/schemas/omgidl/foxglove/TextAnnotation.idl +2 -1
  84. package/schemas/proto/foxglove/CameraCalibration.proto +1 -1
  85. package/schemas/proto/foxglove/CircleAnnotation.proto +2 -1
  86. package/schemas/proto/foxglove/CompressedVideo.proto +1 -1
  87. package/schemas/proto/foxglove/PointsAnnotation.proto +2 -1
  88. package/schemas/proto/foxglove/TextAnnotation.proto +2 -1
  89. package/schemas/ros1/CameraCalibration.msg +1 -1
  90. package/schemas/ros1/CircleAnnotation.msg +2 -1
  91. package/schemas/ros1/CompressedVideo.msg +1 -1
  92. package/schemas/ros1/PointsAnnotation.msg +2 -1
  93. package/schemas/ros1/TextAnnotation.msg +2 -1
  94. package/schemas/ros2/CameraCalibration.msg +1 -1
  95. package/schemas/ros2/CircleAnnotation.msg +2 -1
  96. package/schemas/ros2/CompressedVideo.msg +1 -1
  97. package/schemas/ros2/PointsAnnotation.msg +2 -1
  98. package/schemas/ros2/TextAnnotation.msg +2 -1
  99. package/schemas/typescript/CameraCalibration.d.ts +1 -1
  100. package/schemas/typescript/CameraCalibration.ts +1 -1
  101. package/schemas/typescript/CircleAnnotation.d.ts +4 -1
  102. package/schemas/typescript/CircleAnnotation.d.ts.map +1 -1
  103. package/schemas/typescript/CircleAnnotation.ts +4 -1
  104. package/schemas/typescript/CompressedVideo.d.ts +1 -1
  105. package/schemas/typescript/CompressedVideo.ts +1 -1
  106. package/schemas/typescript/PointsAnnotation.d.ts +4 -1
  107. package/schemas/typescript/PointsAnnotation.d.ts.map +1 -1
  108. package/schemas/typescript/PointsAnnotation.ts +4 -1
  109. package/schemas/typescript/TextAnnotation.d.ts +4 -1
  110. package/schemas/typescript/TextAnnotation.d.ts.map +1 -1
  111. package/schemas/typescript/TextAnnotation.ts +4 -1
@@ -23,7 +23,8 @@ uint8 LINE_LIST=4
23
23
  # Type of points annotation to draw
24
24
  uint8 type
25
25
 
26
- # Points in 2D image coordinates (pixels)
26
+ # Points in 2D image coordinates (pixels).
27
+ # These coordinates use the top-left corner of the top-left pixel of the image as the origin.
27
28
  foxglove_msgs/Point2[] points
28
29
 
29
30
  # Outline color
@@ -6,7 +6,8 @@
6
6
  # Timestamp of annotation
7
7
  time timestamp
8
8
 
9
- # Bottom-left origin of the text label in 2D image coordinates (pixels)
9
+ # Bottom-left origin of the text label in 2D image coordinates (pixels).
10
+ # The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
10
11
  foxglove_msgs/Point2 position
11
12
 
12
13
  # Text to display
@@ -17,7 +17,7 @@ uint32 height
17
17
 
18
18
  # Name of distortion model
19
19
  #
20
- # Supported values: `plumb_bob` and `rational_polynomial`
20
+ # Supported parameters: `plumb_bob` (k1, k2, p1, p2, k3) and `rational_polynomial` (k1, k2, p1, p2, k3, k4, k5, k6). Distortion models are based on [OpenCV's](https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html) [pinhole camera model](https://en.wikipedia.org/wiki/Distortion_%28optics%29#Software_correction). This is the same [implementation used by ROS](http://docs.ros.org/en/diamondback/api/image_geometry/html/c++/pinhole__camera__model_8cpp_source.html)
21
21
  string distortion_model
22
22
 
23
23
  # Distortion parameters
@@ -6,7 +6,8 @@
6
6
  # Timestamp of circle
7
7
  builtin_interfaces/Time timestamp
8
8
 
9
- # Center of the circle in 2D image coordinates (pixels)
9
+ # Center of the circle in 2D image coordinates (pixels).
10
+ # The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
10
11
  foxglove_msgs/Point2 position
11
12
 
12
13
  # Circle diameter in pixels
@@ -13,7 +13,7 @@ string frame_id
13
13
 
14
14
  # Compressed video frame data.
15
15
  #
16
- # For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove Studio does not support video streams that include B frames because they require lookahead.
16
+ # For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove does not support video streams that include B frames because they require lookahead.
17
17
  uint8[] data
18
18
 
19
19
  # Video format.
@@ -23,7 +23,8 @@ uint8 LINE_LIST=4
23
23
  # Type of points annotation to draw
24
24
  uint8 type
25
25
 
26
- # Points in 2D image coordinates (pixels)
26
+ # Points in 2D image coordinates (pixels).
27
+ # These coordinates use the top-left corner of the top-left pixel of the image as the origin.
27
28
  foxglove_msgs/Point2[] points
28
29
 
29
30
  # Outline color
@@ -6,7 +6,8 @@
6
6
  # Timestamp of annotation
7
7
  builtin_interfaces/Time timestamp
8
8
 
9
- # Bottom-left origin of the text label in 2D image coordinates (pixels)
9
+ # Bottom-left origin of the text label in 2D image coordinates (pixels).
10
+ # The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
10
11
  foxglove_msgs/Point2 position
11
12
 
12
13
  # Text to display
@@ -12,7 +12,7 @@ export type CameraCalibration = {
12
12
  /**
13
13
  * Name of distortion model
14
14
  *
15
- * Supported values: `plumb_bob` and `rational_polynomial`
15
+ * Supported parameters: `plumb_bob` (k1, k2, p1, p2, k3) and `rational_polynomial` (k1, k2, p1, p2, k3, k4, k5, k6). Distortion models are based on [OpenCV's](https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html) [pinhole camera model](https://en.wikipedia.org/wiki/Distortion_%28optics%29#Software_correction). This is the same [implementation used by ROS](http://docs.ros.org/en/diamondback/api/image_geometry/html/c++/pinhole__camera__model_8cpp_source.html)
16
16
  */
17
17
  distortion_model: string;
18
18
  /** Distortion parameters */
@@ -20,7 +20,7 @@ export type CameraCalibration = {
20
20
  /**
21
21
  * Name of distortion model
22
22
  *
23
- * Supported values: `plumb_bob` and `rational_polynomial`
23
+ * Supported parameters: `plumb_bob` (k1, k2, p1, p2, k3) and `rational_polynomial` (k1, k2, p1, p2, k3, k4, k5, k6). Distortion models are based on [OpenCV's](https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html) [pinhole camera model](https://en.wikipedia.org/wiki/Distortion_%28optics%29#Software_correction). This is the same [implementation used by ROS](http://docs.ros.org/en/diamondback/api/image_geometry/html/c++/pinhole__camera__model_8cpp_source.html)
24
24
  */
25
25
  distortion_model: string;
26
26
 
@@ -5,7 +5,10 @@ import { Time } from "./Time";
5
5
  export type CircleAnnotation = {
6
6
  /** Timestamp of circle */
7
7
  timestamp: Time;
8
- /** Center of the circle in 2D image coordinates (pixels) */
8
+ /**
9
+ * Center of the circle in 2D image coordinates (pixels).
10
+ * The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
11
+ */
9
12
  position: Point2;
10
13
  /** Circle diameter in pixels */
11
14
  diameter: number;
@@ -1 +1 @@
1
- {"version":3,"file":"CircleAnnotation.d.ts","sourceRoot":"","sources":["CircleAnnotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;IAEhB,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IAEjB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,+BAA+B;IAC/B,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"CircleAnnotation.d.ts","sourceRoot":"","sources":["CircleAnnotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;IAEhB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,+BAA+B;IAC/B,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;CACtB,CAAC"}
@@ -10,7 +10,10 @@ export type CircleAnnotation = {
10
10
  /** Timestamp of circle */
11
11
  timestamp: Time;
12
12
 
13
- /** Center of the circle in 2D image coordinates (pixels) */
13
+ /**
14
+ * Center of the circle in 2D image coordinates (pixels).
15
+ * The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
16
+ */
14
17
  position: Point2;
15
18
 
16
19
  /** Circle diameter in pixels */
@@ -12,7 +12,7 @@ export type CompressedVideo = {
12
12
  /**
13
13
  * Compressed video frame data.
14
14
  *
15
- * For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove Studio does not support video streams that include B frames because they require lookahead.
15
+ * For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove does not support video streams that include B frames because they require lookahead.
16
16
  */
17
17
  data: Uint8Array;
18
18
  /**
@@ -18,7 +18,7 @@ export type CompressedVideo = {
18
18
  /**
19
19
  * Compressed video frame data.
20
20
  *
21
- * For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove Studio does not support video streams that include B frames because they require lookahead.
21
+ * For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove does not support video streams that include B frames because they require lookahead.
22
22
  */
23
23
  data: Uint8Array;
24
24
 
@@ -8,7 +8,10 @@ export type PointsAnnotation = {
8
8
  timestamp: Time;
9
9
  /** Type of points annotation to draw */
10
10
  type: PointsAnnotationType;
11
- /** Points in 2D image coordinates (pixels) */
11
+ /**
12
+ * Points in 2D image coordinates (pixels).
13
+ * These coordinates use the top-left corner of the top-left pixel of the image as the origin.
14
+ */
12
15
  points: Point2[];
13
16
  /** Outline color */
14
17
  outline_color: Color;
@@ -1 +1 @@
1
- {"version":3,"file":"PointsAnnotation.d.ts","sourceRoot":"","sources":["PointsAnnotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,uCAAuC;AACvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB,wCAAwC;IACxC,IAAI,EAAE,oBAAoB,CAAC;IAE3B,8CAA8C;IAC9C,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;IAErB,oIAAoI;IACpI,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"PointsAnnotation.d.ts","sourceRoot":"","sources":["PointsAnnotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,uCAAuC;AACvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB,wCAAwC;IACxC,IAAI,EAAE,oBAAoB,CAAC;IAE3B;;;OAGG;IACH,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,oBAAoB;IACpB,aAAa,EAAE,KAAK,CAAC;IAErB,oIAAoI;IACpI,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -14,7 +14,10 @@ export type PointsAnnotation = {
14
14
  /** Type of points annotation to draw */
15
15
  type: PointsAnnotationType;
16
16
 
17
- /** Points in 2D image coordinates (pixels) */
17
+ /**
18
+ * Points in 2D image coordinates (pixels).
19
+ * These coordinates use the top-left corner of the top-left pixel of the image as the origin.
20
+ */
18
21
  points: Point2[];
19
22
 
20
23
  /** Outline color */
@@ -5,7 +5,10 @@ import { Time } from "./Time";
5
5
  export type TextAnnotation = {
6
6
  /** Timestamp of annotation */
7
7
  timestamp: Time;
8
- /** Bottom-left origin of the text label in 2D image coordinates (pixels) */
8
+ /**
9
+ * Bottom-left origin of the text label in 2D image coordinates (pixels).
10
+ * The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
11
+ */
9
12
  position: Point2;
10
13
  /** Text to display */
11
14
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TextAnnotation.d.ts","sourceRoot":"","sources":["TextAnnotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,iCAAiC;AACjC,MAAM,MAAM,cAAc,GAAG;IAC3B,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;IAEjB,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,4BAA4B;IAC5B,gBAAgB,EAAE,KAAK,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"TextAnnotation.d.ts","sourceRoot":"","sources":["TextAnnotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,iCAAiC;AACjC,MAAM,MAAM,cAAc,GAAG;IAC3B,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAC;IAEhB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;IAElB,iBAAiB;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB,4BAA4B;IAC5B,gBAAgB,EAAE,KAAK,CAAC;CACzB,CAAC"}
@@ -10,7 +10,10 @@ export type TextAnnotation = {
10
10
  /** Timestamp of annotation */
11
11
  timestamp: Time;
12
12
 
13
- /** Bottom-left origin of the text label in 2D image coordinates (pixels) */
13
+ /**
14
+ * Bottom-left origin of the text label in 2D image coordinates (pixels).
15
+ * The coordinate uses the top-left corner of the top-left pixel of the image as the origin.
16
+ */
14
17
  position: Point2;
15
18
 
16
19
  /** Text to display */