new package for keyframe detector (moved from common)