How to detect a cross-fade in a video ?

2 visualizzazioni (ultimi 30 giorni)
Bernardo Marino
Bernardo Marino il 27 Giu 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?

Risposte (1)

Image Analyst
Image Analyst il 27 Giu 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.
  2 Commenti
Image Analyst
Image Analyst il 28 Giu 2016
What is the value of vidObj.NumberOfFrames?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by