ZForge.Motion.Controls.Camera.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
        public void Start()
        {
            if (mVideoSource != null)
            {
                mVideoSource.Start();
            }
        }

Usage Example

Example #1
0
        // Open video source
        private void OpenVideoSource(IVideoSource source)
        {
            // set busy cursor
            this.Cursor = Cursors.WaitCursor;

            // close previous file
            CloseVideoSource();

            //source.VideoSourceError += new VideoSourceErrorEventHandler(source_VideoSourceError);
            // create camera
            Camera camera = new Camera(source);

            // attach camera to camera window
            cameraWindow.Camera = camera;

            // start camera
            camera.Start();
            //timer.Start();

            this.Cursor = Cursors.Default;
        }
All Usage Examples Of ZForge.Motion.Controls.Camera::Start