Class Camera

java.lang.Object
javaforce.media.Camera

public class Camera extends Object
Web Camera API
Author:
pquiring Created : Aug 20, 2013
  • Constructor Details

    • Camera

      public Camera()
  • Method Details

    • init

      public boolean init()
    • uninit

      public boolean uninit()
    • listDevices

      public String[] listDevices()
    • listModes

      public String[] listModes(int deviceIdx)
    • start

      public boolean start(int deviceIdx, int width, int height)
    • stop

      public boolean stop()
    • getFrame

      public int[] getFrame()
      Get next image.
    • getFrameMirror

      public int[] getFrameMirror()
      Get next image and mirror horizontally.
    • getFrameFlip

      public int[] getFrameFlip()
      Get next image and flip vertically.
    • getFrameMirrorAndFlip

      public int[] getFrameMirrorAndFlip()
      Get next image and mirror horizontally and flip vertically.
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()