Class FileFrameProvider
java.lang.Object
org.photonvision.vision.frame.FrameProvider
org.photonvision.vision.frame.provider.CpuImageProcessor
org.photonvision.vision.frame.provider.FileFrameProvider
A
FrameProvider
that will read and provide an image from a path
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.photonvision.vision.frame.provider.CpuImageProcessor
CpuImageProcessor.CapturedFrame
-
Field Summary
Fields inherited from class org.photonvision.vision.frame.FrameProvider
sequenceID
-
Constructor Summary
ConstructorDescriptionFileFrameProvider
(String pathAsString, double fov) Instantiates a new File frame provider.FileFrameProvider
(Path path, double fov) Instantiates a new File frame provider.FileFrameProvider
(Path path, double fov, int maxFPS) Instantiates a new FileFrameProvider.FileFrameProvider
(Path path, double fov, int maxFPS, CameraCalibrationCoefficients calibration) FileFrameProvider
(Path path, double fov, CameraCalibrationCoefficients calibration) -
Method Summary
Methods inherited from class org.photonvision.vision.frame.provider.CpuImageProcessor
get, requestFrameCopies, requestFrameRotation, requestFrameThresholdType, requestHsvSettings
-
Field Details
-
MAX_FPS
public static final int MAX_FPS- See Also:
-
-
Constructor Details
-
FileFrameProvider
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
-
FileFrameProvider
public FileFrameProvider(Path path, double fov, int maxFPS, CameraCalibrationCoefficients calibration) -
FileFrameProvider
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
Instantiates a new File frame provider.- Parameters:
path
- The path of the image to read from.fov
- The fov of the image.
-
-
Method Details
-
getInputMat
-
getName
- Specified by:
getName
in classFrameProvider
-