How to add key frame?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to add key frame?

yincanben
Mr matlabbe,
I am reading your projects, I can not  comprehend  how to add keyFrame when you compute odometry?Can  you explain it? Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: How to add key frame?

matlabbe
Administrator
Hi,

For OdometryBOW, there is no "keyframe", only a local map of 3D features to compare to. While the camera is moving, new features of the new frame are added to the local map. If the local map size grows over a fixed threshold ("OdomBow/LocalHistorySize" parameter, default 1000), the oldest points are removed from the local map.

For OdometryOpticalFlow, transformations are estimated frame to frame. Features are tracked using optical flow. Because it is frame to frame, the estimated position of the camera may drift even when the camera is not moving.

Cheers