Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="captureDeviceNumber"></param>
        /// <param name="frameRate"></param>
        /// <param name="width"></param>
        /// <param name="height"></param>
        public WebCamService(int captureDeviceNumber, int frameRate, int width, int height)
        {
            mCaptureDeviceNumber = captureDeviceNumber;
            mFrameRate           = frameRate;
            mWidth  = width;
            mHeight = height;

            mCaptureSystem = new WebCamCapture(mCaptureDeviceNumber, mFrameRate, mWidth, mHeight);
        }
Пример #2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="captureDeviceNumber"></param>
        /// <param name="frameRate"></param>
        /// <param name="width"></param>
        /// <param name="height"></param>
        public WebCamService(int captureDeviceNumber, int frameRate, int width, int height)
        {
            mCaptureDeviceNumber = captureDeviceNumber;
            mFrameRate = frameRate;
            mWidth = width;
            mHeight = height;

            mCaptureSystem = new WebCamCapture(mCaptureDeviceNumber, mFrameRate, mWidth, mHeight);
        }