export a video fps into GUI

1 次查看(过去 30 天)
lucas
lucas 2019-4-16
Hello everyone,
im processing a video online and i want to display the fps acquired into the gui in a text form
im kind a new on this thing and im thinking to use this equation: (dont know yet if this is the best calc. and if it will lag me up)
[frames, timeStamp] = getdata(vid);
diffFrameTime = diff(timeStamp);
FPS = 1/avgTime;
so i want to display the FPS on real time alongside the video... can anyone help me?
thanks in advance

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by