Interface WebcamInterface

All Known Implementing Classes:
DynamicWebcamInterface, WebcamCaptureWebcamInterface, WebcamOpenCV

public interface WebcamInterface
High level interface for opening a webcam. Easy to use but you can't do much configuration.
  • Method Summary

    Modifier and Type Method Description
    <T extends ImageBase<T>>
    SimpleImageSequence<T>
    open​(String device, int width, int height, ImageType<T> imageType)
    Opens the webcam.
  • Method Details

    • open

      <T extends ImageBase<T>> SimpleImageSequence<T> open​(String device, int width, int height, ImageType<T> imageType)
      Opens the webcam. The specified resolution is a suggestion only.
      Parameters:
      device - Which webcam to open
      width - Desired image width
      height - Desired image height
      imageType - Type of image
      Returns:
      SimpleImageSequence for the webcam.