Exemple #1
0
 public void StopVideoAcquisition()
 {
     m_newFrameEvent    = null;
     m_scoreUpdateEvent = null;
     if (m_videoSource != null)
     {
         m_videoSource.SignalToStop();
     }
     Thread.Sleep(250);
     m_FrameCounter = 0;
 }
Exemple #2
0
 public void RegisterToNewFrameEvnt(BEToFEMsgTypes.ImageUpdateDlgt callBack) => m_newFrameEvent += callBack;
 public void RegisterToEvents(BEToFEMsgTypes.ImageUpdateDlgt ImageUpdateCallBack, BEToFEMsgTypes.ScoreUpdateDlgt ScoreUpdateCallback)
 {
     m_cameraDevice.RegisterToNewFrameEvnt(ImageUpdateCallBack);
     m_cameraDevice.RegisterToUpdateScoreEvnt(ScoreUpdateCallback);
 }