i want to know the codes for comparing two video frames by the method of subtraction

 采纳的回答

See my attached demo which does that.

Community Treasure Hunt

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

Start Hunting!

Translated by