Implement extract key frames. Waiting for API changes. Must change calc_homography.