How many frames in 1 sec in matlab

3 次查看(过去 30 天)
Does it depend on my video capture device?(camera)

采纳的回答

Walter Roberson
Walter Roberson 2013-2-8
Yes. Different cameras support different frame rates.
If there is a direct connection, such as USB or ethernet, then different interfaces support different transfer rates and different latencies. If a data acquisition card is being used, different bus interfaces make a difference, as do different manufactures and models of cards.
As well, the choice of software driver makes a difference.
Then there are other factors such as your operating system, your RAM, the number of cores you have, and what else is running on your system, and how you have configured your anti-virus scanners.
On MS Windows systems, MATLAB cannot operate in "real time" because MS Windows is not a real-time operating system. (OS-X and Linux allow real-time modes for software written to support that, but MATLAB has not been so written. There are, though, some situations in which data transfer is faster or lower latency on OS-X and Linux.)
If you need very consistent frame rates, then MATLAB itself is not appropriate; you might, however, be able to use Simulink to generate software that could be compiled for real-time hardware.
  2 个评论
Claire Redfield
Claire Redfield 2013-2-8
Thank you. So how to caculate 'how many TriggerFrameDelays needed', if i want to capture pictures in every 10 secs?
Walter Roberson
Walter Roberson 2013-2-8
To clarify: you are wanting one packet every 10 seconds?
Have you considered using a timer object to do the work?

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by