Investigating memory efficiency of a OpenCV based approach.