c# - dispatcherTimer doesn't work accurately -
I need to capture 10 frames per second of a live camera for 15 minutes. I use a departure timer class But it seems that it does not work correctly how to make it right? I also do not save the image because it takes time and I keep it in memory, but still it does not work properly. Should I use another library? that: Timer is not guaranteed to fix the time interval, but it is guaranteed not to execute before the time interval. You can check, it can help you. counter01 = new dispatch timer (); Counter01.Tick + = new event handler (counter cardiac); Counter01.Invival = New TimeSpain (0, 0, 0, 100); // every 100 milliseconds == 10 frames per second
Comments
Post a Comment