コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();

            _videoPlayer = new SimplePlayer(null);
            _videoPlayer.OnVideoFrame += VideoCapture1_OnVideoFrameBuffer;
            _videoPlayer.OnError      += VideoCapture1_OnError;

            _videoCapture = new SimpleCapture(null);
            _videoCapture.OnVideoFrame += VideoCapture1_OnVideoFrameBuffer;
            _videoCapture.OnError      += VideoCapture1_OnError;
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: permikomnaskaltara/Vision
        public void SimpleCapture()
        {
            SimpleCapture cap = new SimpleCapture();

            cap.Run();
        }