The software looks at previous and next frames.