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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!