001/*----------------------------------------------------------------------------*/ 002/* Copyright (c) FIRST 2016-2017. All Rights Reserved. */ 003/* Open Source Software - may be modified and shared by FRC teams. The code */ 004/* must be accompanied by the FIRST BSD license file in the root directory of */ 005/* the project. */ 006/*----------------------------------------------------------------------------*/ 007 008package edu.wpi.first.wpilibj.vision; 009 010import org.opencv.core.Mat; 011 012/** 013 * A vision pipeline is responsible for running a group of 014 * OpenCV algorithms to extract data from an image. 015 * 016 * @see VisionRunner 017 * @see VisionThread 018 */ 019public interface VisionPipeline { 020 021 /** 022 * Processes the image input and sets the result objects. 023 * Implementations should make these objects accessible. 024 */ 025 void process(Mat image); 026 027}