Marker detector