Class LibcameraGpuFrameProvider
java.lang.Object
org.photonvision.vision.frame.FrameProvider
org.photonvision.vision.frame.provider.LibcameraGpuFrameProvider
- All Implemented Interfaces:
Supplier<Frame>
,Releasable
-
Field Summary
Fields inherited from class org.photonvision.vision.frame.FrameProvider
cameraPropertiesCached, sequenceID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
get()
getName()
boolean
void
release()
void
requestFrameCopies
(boolean copyInput, boolean copyOutput) Ask the camera to provide either the input, output, or both frames.void
requestFrameRotation
(ImageRotationMode rotationMode) Ask the camera to rotate frames it outputsvoid
Ask the camera to produce a certain kind of processed image (e.g.void
requestHsvSettings
(HSVPipe.HSVParams params) Ask the camera to rotate frames it outputsMethods inherited from class org.photonvision.vision.frame.FrameProvider
hasConnected, onCameraConnected
-
Constructor Details
-
LibcameraGpuFrameProvider
-
-
Method Details
-
getName
- Specified by:
getName
in classFrameProvider
-
get
-
requestFrameThresholdType
Description copied from class:FrameProvider
Ask the camera to produce a certain kind of processed image (e.g. HSV or greyscale)- Specified by:
requestFrameThresholdType
in classFrameProvider
-
requestFrameRotation
Description copied from class:FrameProvider
Ask the camera to rotate frames it outputs- Specified by:
requestFrameRotation
in classFrameProvider
-
requestHsvSettings
Description copied from class:FrameProvider
Ask the camera to rotate frames it outputs- Specified by:
requestHsvSettings
in classFrameProvider
-
requestFrameCopies
public void requestFrameCopies(boolean copyInput, boolean copyOutput) Description copied from class:FrameProvider
Ask the camera to provide either the input, output, or both frames.- Specified by:
requestFrameCopies
in classFrameProvider
-
release
public void release() -
checkCameraConnected
public boolean checkCameraConnected()- Specified by:
checkCameraConnected
in classFrameProvider
-
isConnected
public boolean isConnected()- Specified by:
isConnected
in classFrameProvider
-