Robust detection of simple marker