Recognition of preset pictures with triangle and square