Package org.photonvision.vision.frame
Class FrameProvider
java.lang.Object
org.photonvision.vision.frame.FrameProvider
- Direct Known Subclasses:
CpuImageProcessor
,LibcameraGpuFrameProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
getName()
abstract void
requestFrameCopies
(boolean copyInput, boolean copyOutput) Ask the camera to provide either the input, output, or both frames.abstract void
requestFrameRotation
(ImageRotationMode rotationMode) Ask the camera to rotate frames it outputsabstract void
Ask the camera to produce a certain kind of processed image (e.g.abstract void
requestHsvSettings
(HSVPipe.HSVParams params) Ask the camera to rotate frames it outputs
-
Field Details
-
sequenceID
protected int sequenceID
-
-
Constructor Details
-
FrameProvider
public FrameProvider()
-
-
Method Details
-
getName
-
requestFrameThresholdType
Ask the camera to produce a certain kind of processed image (e.g. HSV or greyscale) -
requestFrameRotation
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
Ask the camera to rotate frames it outputs
-