File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -255,10 +255,17 @@ void apriltag_detector_clear_families(apriltag_detector_t *td);
255255// apriltag_family_t used to initialize it.)
256256void apriltag_detector_destroy (apriltag_detector_t * td );
257257
258- // Detect tags from an image and return an array of
259- // apriltag_detection_t*. You can use apriltag_detections_destroy to
260- // free the array and the detections it contains, or call
261- // _detection_destroy and zarray_destroy yourself.
258+ // Detect tags in a grayscale 8-bit image.
259+ //
260+ // Parameters:
261+ // td - A configured detector
262+ // im_orig - A grayscale 8-bit image to search.
263+ //
264+ // Returns a zarray_t* containing apriltag_detection_t* pointers, one per
265+ // detected tag. The array may be empty but is never NULL. The caller is
266+ // responsible for freeing the result: use apriltag_detections_destroy() to
267+ // free both the array and all detections, or call apriltag_detection_destroy()
268+ // on each element then zarray_destroy() separately.
262269zarray_t * apriltag_detector_detect (apriltag_detector_t * td , image_u8_t * im_orig );
263270
264271// Call this method on each of the tags returned by apriltag_detector_detect
You can’t perform that action at this time.
0 commit comments