@implementation of marker detection in multiple frames