Class AbstractResultCvPipeline<T>

java.lang.Object
org.openftc.easyopencv.OpenCvPipeline
com.pocolifo.robobase.vision.AbstractResultCvPipeline<T>
Type Parameters:
T - The type of the result from the pipeline.
Direct Known Subclasses:
AprilTagDetectionPipeline, ColorFilterBoundingBoxPipeline, ColorTeller, ColorTellerYCbCr, ConvolutionalColorDetection, DynamicYCrCbDetection, EdgeDetection, NovelYCrCbDetection, RegionBasedAverage, SpotDetectionPipeline

public abstract class AbstractResultCvPipeline<T> extends org.openftc.easyopencv.OpenCvPipeline
An OpenCvPipeline which has a result.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected T
    The result of the webcam processor.

    Fields inherited from class org.openftc.easyopencv.OpenCvPipeline

    MEMLEAK_DETECTION_ENABLED, MEMLEAK_DETECTION_PIPELINE_SETTLE_DELAY_SECONDS, MEMLEAK_THRESHOLD_MB
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current result of the pipeline.
    abstract void
    Runs when the pipeline is first set.

    Methods inherited from class org.openftc.easyopencv.OpenCvPipeline

    getUserContextForDrawHook, init, onDrawFrame, onViewportTapped, processFrame, requestViewportDrawHook, saveMatToDisk, saveMatToDiskFullPath

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • result

      protected T result
      The result of the webcam processor.
  • Constructor Details

    • AbstractResultCvPipeline

      public AbstractResultCvPipeline()
  • Method Details

    • getResult

      public T getResult()
      Get the current result of the pipeline.
      Returns:
      The result of the pipeline.
    • init

      public abstract void init()
      Runs when the pipeline is first set.