I am new to openCV. I am currently developing an application to do something about video processing with openCV. I need a trigger to enable my other work when two frame have huge difference. I know there is a function named cvAbsDiff but it only creates a diff image. But I need is a condition like |frame_{i}-frame_{i-1}| > TH. How can I do this with openCV? Thank you very much!
I am new to openCV. I am currently developing an application to do something
Share
If you get the diff image of two different frames, you can then compute the sum of pixels values and apply your threshold.