You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add apriltag_detection_copy() and apriltag_detections_copy() for deep copying results.
- Add apriltag_detector_copy() to clone detector configurations.
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,6 +193,14 @@ Note: The tag size should not be measured from the outside of the tag. The tag s
193
193
### Coordinate System
194
194
The coordinate system has the origin at the camera center. The z-axis points from the camera center out the camera lens. The x-axis is to the right in the image taken by the camera, and y is down. The tag's coordinate frame is centered at the center of the tag. From the viewer's perspective, the x-axis is to the right, y-axis down, and z-axis is into the tag.
195
195
196
+
Utility Functions
197
+
=================
198
+
AprilTag 3 now includes helper functions for deep-copying structures, which is essential for multi-threaded applications or when you need to store detections beyond the detector's lifecycle.
199
+
200
+
*`apriltag_detector_copy(td)`: Creates a clone of the detector configuration.
201
+
*`apriltag_detections_copy(detections)`: Returns a new `zarray_t` with deep copies of all `apriltag_detection_t` objects.
202
+
*`apriltag_detection_copy(src, dst)`: Performs a deep copy of a single detection into an existing structure.
0 commit comments