Tracking Thread (SLAM)
On Keyframe Insertion
From PTAM:
- Keyframes are added whenever the following conditions are met: Tracking quality must be good; time since the last keyframe was added must exceed twenty frames.
From ORB SLAM: To insert a new keyframe all the following conditions must be met:
- More than 20 frames must have passed from the last global relocalization.
- Local mapping is idle, or more than 20 frames have passed from last keyframe insertion.
- Idle here means it has run out of work to do, in which case we give it more work
- Current frame tracks at least 50 points.
- Current frame tracks less than 90% points than