public interface MediaManager
| Modifier and Type | Method and Description |
|---|---|
<T extends boofcv.struct.image.ImageBase<T>> |
openCamera(java.lang.String device,
int width,
int height,
boofcv.struct.image.ImageType<T> imageType)
Opens the specified webcam.
|
java.io.Reader |
openFile(java.lang.String fileName) |
java.awt.image.BufferedImage |
openImage(java.lang.String fileName) |
<T extends boofcv.struct.image.ImageBase<T>> |
openVideo(java.lang.String fileName,
boofcv.struct.image.ImageType<T> imageInfo) |
java.io.Reader openFile(java.lang.String fileName)
java.awt.image.BufferedImage openImage(java.lang.String fileName)
<T extends boofcv.struct.image.ImageBase<T>> SimpleImageSequence<T> openVideo(java.lang.String fileName, boofcv.struct.image.ImageType<T> imageInfo)
<T extends boofcv.struct.image.ImageBase<T>> SimpleImageSequence<T> openCamera(java.lang.String device, int width, int height, boofcv.struct.image.ImageType<T> imageType)
device - Reference to the webcam device. null if you just want to open the defaultwidth - requested image width. Default resolution is any value less than 0height - requested image height. Default resolution is any value less than 0imageType - Type of input image