How to detect a cross-fade in a video ?

2 次查看(过去 30 天)
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.

Community Treasure Hunt

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

Start Hunting!

Translated by