Exemple #1
0
 //static int FileNum = 0;
 private void TxtCamera_FrameReceived(object sender, TXTCommunication.Fischertechnik.Txt.Camera.FrameReceivedEventArgs e)
 {
     lock (imageBytes)
     {
         isDirty    = true;
         imageBytes = e.FrameData;
     }
 }
Exemple #2
0
 private static void TxtCamera_FrameReceived(object sender, TXTCommunication.Fischertechnik.Txt.Camera.FrameReceivedEventArgs e)
 {
     CustomVisionWrapper.PredictImage(new MemoryStream(e.FrameData));
 }