Inspiration
What it does
This code detects changes in the frames of a video using a block comparison technique. It uses a dichotomous search method to optimize performance.
The code will divide the frame into blocks of the defined size, then search in a neighborhood of size kxk for the similar block and compute the residual. The similar blocks will be framed with a square of the defined color, and the residual image will be displayed. If a block has not changed, it will be displayed as a black rectangle.
Dichotomous search is used to optimize the performance of the change detection. A reference document is also provided for further reference.
Log in or sign up for Devpost to join the conversation.