detectAndAnnotateFrames function
- Mat image
Detect ArUco tags in the cv::aruco::DICT_4X4_50 dictionary and annotate them
Implementation
Future<void> detectAndAnnotateFrames(Mat image) async {
final (corners, ids, rejected) = await _arucoDetector.detectMarkersAsync(image);
await arucoDrawDetectedMarkersAsync(image, corners, ids, _arucoColor);
corners.dispose();
ids.dispose();
rejected.dispose();
}