How to detect a cross-fade in a video ?

2 ビュー (過去 30 日間)
Bernardo Marino
Bernardo Marino 2016 年 6 月 27 日
編集済み: Bernardo Marino 2016 年 7 月 4 日
I tried with this function using normxcorr2, it seems to work. Calling it in a while, used to read every frame of video, I have an infinite loop, and I can not explain it. You can be due to the use of normxcorr2 function?

回答 (1 件)

Image Analyst
Image Analyst 2016 年 6 月 27 日
How can we tell why your while is in an infinite loop when you don't even show the while statement? Hopefully you have a fail safe in the while statement and not just something like this:
while true
Use your debugger to figure out why your stopping/continuing condition is, and why that means it will never exit the loop. If you still can't figure it out, then share your while loop code.
  2 件のコメント
Image Analyst
Image Analyst 2016 年 6 月 28 日
What is the value of vidObj.NumberOfFrames?
Bernardo Marino
Bernardo Marino 2016 年 6 月 28 日
about 3500

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by