Add marker detection and drawing.