Class FrameProvider

java.lang.Object
org.photonvision.vision.frame.FrameProvider
All Implemented Interfaces:
Supplier<Frame>
Direct Known Subclasses:
CpuImageProcessor, LibcameraGpuFrameProvider

public abstract class FrameProvider extends Object implements Supplier<Frame>
  • Field Details

    • sequenceID

      protected int sequenceID
  • Constructor Details

    • FrameProvider

      public FrameProvider()
  • Method Details

    • getName

      public abstract String getName()
    • requestFrameThresholdType

      public abstract void requestFrameThresholdType(FrameThresholdType type)
      Ask the camera to produce a certain kind of processed image (e.g. HSV or greyscale)
    • requestFrameRotation

      public abstract void requestFrameRotation(ImageRotationMode rotationMode)
      Ask the camera to rotate frames it outputs
    • requestFrameCopies

      public abstract void requestFrameCopies(boolean copyInput, boolean copyOutput)
      Ask the camera to provide either the input, output, or both frames.
    • requestHsvSettings

      public abstract void requestHsvSettings(HSVPipe.HSVParams params)
      Ask the camera to rotate frames it outputs