WPILibC++ 2024.3.2
VisionPipeline.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
7namespace cv {
8class Mat;
9} // namespace cv
10
11namespace frc {
12
13/**
14 * A vision pipeline is responsible for running a group of OpenCV algorithms to
15 * extract data from an image.
16 *
17 * @see VisionRunner
18 */
20 public:
21 virtual ~VisionPipeline() = default;
22
23 /**
24 * Processes the image input and sets the result objects. Implementations
25 * should make these objects accessible.
26 */
27 virtual void Process(cv::Mat& mat) = 0;
28};
29} // namespace frc
A vision pipeline is responsible for running a group of OpenCV algorithms to extract data from an ima...
Definition: VisionPipeline.h:19
virtual ~VisionPipeline()=default
virtual void Process(cv::Mat &mat)=0
Processes the image input and sets the result objects.
Definition: VisionPipeline.h:7
Definition: AprilTagPoseEstimator.h:15