Class FileFrameProvider

All Implemented Interfaces:
Supplier<Frame>

public class FileFrameProvider extends CpuImageProcessor
A FrameProvider that will read and provide an image from a path.
  • Field Details

  • Constructor Details

    • FileFrameProvider

      public FileFrameProvider(Path path, double fov, int maxFPS)
      Instantiates a new FileFrameProvider.
      Parameters:
      path - The path of the image to read from.
      fov - The fov of the image.
      maxFPS - The max framerate to provide the image at.
    • FileFrameProvider

      public FileFrameProvider(Path path, double fov, CameraCalibrationCoefficients calibration)
    • FileFrameProvider

      public FileFrameProvider(Path path, double fov, int maxFPS, CameraCalibrationCoefficients calibration)
    • FileFrameProvider

      public FileFrameProvider(String pathAsString, double fov)
      Instantiates a new File frame provider.
      Parameters:
      pathAsString - The path of the image to read from as a string.
      fov - The fov of the image.
    • FileFrameProvider

      public FileFrameProvider(Path path, double fov)
      Instantiates a new File frame provider.
      Parameters:
      path - The path of the image to read from.
      fov - The fov of the image.
  • Method Details