BBB implementation of marker detector