Class CVPipeline<R extends CVPipelineResult,S extends CVPipelineSettings>

java.lang.Object
org.photonvision.vision.pipeline.CVPipeline<R,S>
All Implemented Interfaces:
Releasable
Direct Known Subclasses:
AprilTagPipeline, ArucoPipeline, Calibrate3dPipeline, ColoredShapePipeline, DriverModePipeline, ObjectDetectionPipeline, ReflectivePipeline

public abstract class CVPipeline<R extends CVPipelineResult,S extends CVPipelineSettings> extends Object implements Releasable
  • Field Details

  • Constructor Details

  • Method Details

    • getThresholdType

      public FrameThresholdType getThresholdType()
    • setPipeParams

      protected void setPipeParams(FrameStaticProperties frameStaticProperties, S settings, QuirkyCamera cameraQuirks)
    • setPipeParamsImpl

      protected abstract void setPipeParamsImpl()
    • process

      protected abstract R process(Frame frame, S settings)
    • getSettings

      public S getSettings()
    • setSettings

      public void setSettings(S s)
    • run

      public R run(Frame frame, QuirkyCamera cameraQuirks)
    • release

      public void release()
      Release any native memory associated with this pipeline. Called by pipelinemanager at pipeline switch. Stubbed out, but override if needed.
      Specified by:
      release in interface Releasable