Class VideoCapture


  • public class VideoCapture
    extends Object
    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • VideoCapture

        protected VideoCapture​(long addr)
      • VideoCapture

        public VideoCapture​(String filename,
                            int apiPreference)
      • VideoCapture

        public VideoCapture​(String filename)
      • VideoCapture

        public VideoCapture​(int index,
                            int apiPreference)
      • VideoCapture

        public VideoCapture​(int index)
      • VideoCapture

        public VideoCapture()
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • __fromPtr__

        public static VideoCapture __fromPtr__​(long addr)
      • getBackendName

        public String getBackendName()
      • grab

        public boolean grab()
      • isOpened

        public boolean isOpened()
      • open

        public boolean open​(String filename,
                            int apiPreference)
      • open

        public boolean open​(String filename)
      • open

        public boolean open​(int cameraNum,
                            int apiPreference)
      • open

        public boolean open​(int index)
      • read

        public boolean read​(Mat image)
      • retrieve

        public boolean retrieve​(Mat image,
                                int flag)
      • retrieve

        public boolean retrieve​(Mat image)
      • set

        public boolean set​(int propId,
                           double value)
      • get

        public double get​(int propId)
      • release

        public void release()