Ejemplo n.º 1
0
 private void BtnStopVideo_Click(object sender, EventArgs e)
 {
     VideoReaderThreadManager.Stop();
     Logger.Save($@"Results/{DateTime.Now.ToString("dd/MM/yy HH-mm-ss")}.txt");
     Logger.Clear();
     PlayBtn.Enabled = true;
 }
Ejemplo n.º 2
0
        private void PlayBtn_Click(object sender, EventArgs e)
        {
            _videoRecognitionResults = new VideoRecognitionResults();
            var progress = new Progress <VideoRecognitionResult>(OnImageDetected);

            PlayBtn.Enabled = false;
            VideoReaderThreadManager.Start(VideoFile, progress);
        }