WPILibC++ 2024.3.2
AprilTagDetector_cv.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include <opencv2/core/mat.hpp>
8
10
11namespace frc {
12
14 cv::Mat& image) {
15 return detector.Detect(image.cols, image.rows, image.data);
16}
17
18} // namespace frc
Array of detection results.
Definition: AprilTagDetector.h:132
An AprilTag detector engine.
Definition: AprilTagDetector.h:27
Results Detect(int width, int height, int stride, uint8_t *buf)
Detect tags from an 8-bit image.
Definition: AprilTagPoseEstimator.h:15
AprilTagDetector::Results AprilTagDetect(AprilTagDetector &detector, cv::Mat &image)
Definition: AprilTagDetector_cv.h:13