Package edu.wpi.grip.core.sources
Class CSHttpCameraFrameGrabber
- java.lang.Object
-
- org.bytedeco.javacv.FrameGrabber
-
- edu.wpi.grip.core.sources.CSHttpCameraFrameGrabber
-
public class CSHttpCameraFrameGrabber extends org.bytedeco.javacv.FrameGrabber
-
-
Field Summary
-
Fields inherited from class org.bytedeco.javacv.FrameGrabber
aspectRatio, audioBitrate, audioChannels, audioCodec, audioMetadata, audioOptions, audioStream, bpp, deinterlace, format, frameNumber, frameRate, gamma, imageHeight, imageMode, imageWidth, list, metadata, numBuffers, options, pixelFormat, sampleFormat, sampleRate, SENSOR_PATTERN_BGGR, SENSOR_PATTERN_GBRG, SENSOR_PATTERN_GRBG, SENSOR_PATTERN_RGGB, sensorPattern, timeout, timestamp, triggerMode, videoBitrate, videoCodec, videoMetadata, videoOptions, videoStream
-
-
Constructor Summary
Constructors Constructor Description CSHttpCameraFrameGrabber(java.lang.String urlstr, int readTimeout, java.util.concurrent.TimeUnit unit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.wpi.cscore.HttpCamera
getCamera()
org.bytedeco.javacv.Frame
grab()
void
release()
void
start()
void
stop()
void
trigger()
static void
tryLoad()
-
Methods inherited from class org.bytedeco.javacv.FrameGrabber
create, create, create, create, createArray, createDefault, createDefault, createDefault, delayedGrab, flush, get, getAspectRatio, getAudioBitrate, getAudioChannels, getAudioCodec, getAudioMetadata, getAudioOption, getAudioStream, getBitsPerPixel, getDefault, getDelayedFrame, getDelayedTime, getFormat, getFrameNumber, getFrameRate, getGamma, getImageHeight, getImageMode, getImageWidth, getLengthInFrames, getLengthInTime, getMetadata, getNumBuffers, getOption, getPixelFormat, getSampleFormat, getSampleRate, getSensorPattern, getTimeout, getTimestamp, getVideoBitrate, getVideoCodec, getVideoMetadata, getVideoOption, getVideoStream, grabFrame, init, isDeinterlace, isTriggerMode, restart, setAspectRatio, setAudioBitrate, setAudioChannels, setAudioCodec, setAudioMetadata, setAudioOption, setAudioStream, setBitsPerPixel, setDeinterlace, setFormat, setFrameNumber, setFrameRate, setGamma, setImageHeight, setImageMode, setImageWidth, setMetadata, setNumBuffers, setOption, setPixelFormat, setSampleFormat, setSampleRate, setSensorPattern, setTimeout, setTimestamp, setTriggerMode, setVideoBitrate, setVideoCodec, setVideoMetadata, setVideoOption, setVideoStream
-
-
-
-
Method Detail
-
tryLoad
public static void tryLoad() throws org.bytedeco.javacv.FrameGrabber.Exception
- Throws:
org.bytedeco.javacv.FrameGrabber.Exception
-
getCamera
public edu.wpi.cscore.HttpCamera getCamera()
-
start
public void start() throws org.bytedeco.javacv.FrameGrabber.Exception
- Specified by:
start
in classorg.bytedeco.javacv.FrameGrabber
- Throws:
org.bytedeco.javacv.FrameGrabber.Exception
-
stop
public void stop() throws org.bytedeco.javacv.FrameGrabber.Exception
- Specified by:
stop
in classorg.bytedeco.javacv.FrameGrabber
- Throws:
org.bytedeco.javacv.FrameGrabber.Exception
-
trigger
public void trigger() throws org.bytedeco.javacv.FrameGrabber.Exception
- Specified by:
trigger
in classorg.bytedeco.javacv.FrameGrabber
- Throws:
org.bytedeco.javacv.FrameGrabber.Exception
-
grab
public org.bytedeco.javacv.Frame grab() throws org.bytedeco.javacv.FrameGrabber.Exception
- Specified by:
grab
in classorg.bytedeco.javacv.FrameGrabber
- Throws:
org.bytedeco.javacv.FrameGrabber.Exception
-
release
public void release() throws org.bytedeco.javacv.FrameGrabber.Exception
- Specified by:
release
in classorg.bytedeco.javacv.FrameGrabber
- Throws:
org.bytedeco.javacv.FrameGrabber.Exception
-
-