recognition of pictures with triangles and squares