mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
I upgraded all plugins I could see except org.ysb33r.doxygen. 2.0 made breaking changes, and I couldn't figure out how to migrate. Most of the changes are for suppressing new linter purification rites.
26 lines
684 B
Java
26 lines
684 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
|
|
*/
|
|
@FunctionalInterface
|
|
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);
|
|
}
|