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? 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

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.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -