mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Some C++ Doxygen comments were updated to reflect any wording changes. See `rg "(@return|@param \w+) TODO" | less` for list of incomplete docs.
25 lines
663 B
Java
25 lines
663 B
Java
// Copyright (c) FIRST and other WPILib contributors.
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
package edu.wpi.first.vision;
|
|
|
|
import org.opencv.core.Mat;
|
|
|
|
/**
|
|
* A vision pipeline is responsible for running a group of OpenCV algorithms to extract data from an
|
|
* image.
|
|
*
|
|
* @see VisionRunner
|
|
* @see VisionThread
|
|
*/
|
|
public interface VisionPipeline {
|
|
/**
|
|
* Processes the image input and sets the result objects. Implementations should make these
|
|
* objects accessible.
|
|
*
|
|
* @param image The image to process.
|
|
*/
|
|
void process(Mat image);
|
|
}
|