I have recorded a rgb video and extract g frames vector and calculate it's mean now I want to calculate beats per minute kindly help how can I calculate BPM

1 回表示 (過去 30 日間)
vid= VideoReader('output.avi');
numFrames = vid.NumberOfFrames;
n=numFrames;
for x = 1:n
vidFrame = read(vid,x);
G = vidFrame(330:680, 500:780,2);
g(x)=mean2(G);
end

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by