boofcv.io
Interface MediaManager
-
- All Known Implementing Classes:
- DefaultMediaManager
public interface MediaManagerAbstract interface for accessing files, images, and videos. Intended to help handle regular applications and applets
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description <T extends ImageBase>
SimpleImageSequence<T>openCamera(java.lang.String device, int width, int height, ImageType<T> imageType)Opens the specified webcam.java.io.ReaderopenFile(java.lang.String fileName)java.awt.image.BufferedImageopenImage(java.lang.String fileName)<T extends ImageBase>
SimpleImageSequence<T>openVideo(java.lang.String fileName, ImageType<T> imageInfo)
-
-
-
Method Detail
-
openFile
java.io.Reader openFile(java.lang.String fileName)
-
openImage
java.awt.image.BufferedImage openImage(java.lang.String fileName)
-
openVideo
<T extends ImageBase> SimpleImageSequence<T> openVideo(java.lang.String fileName, ImageType<T> imageInfo)
-
openCamera
<T extends ImageBase> SimpleImageSequence<T> openCamera(java.lang.String device, int width, int height, ImageType<T> imageType)
Opens the specified webcam.- Parameters:
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- Returns:
- The image sequence.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG