How to detect a cross-fade in a video ?

3 views (last 30 days)
Bernardo Marino
Bernardo Marino on 27 Jun 2016
Edited: Bernardo Marino on 4 Jul 2016
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?

Answers (1)

Image Analyst
Image Analyst on 27 Jun 2016
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.

Community Treasure Hunt

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

Start Hunting!