In general, automatic recognition of faces fails when the templates are not correct or when they include singularities, the most common cases are as follows:
Opposite non-parallel faces.
Thickness incoherent at bends.
Face of bend cut in two (one external face and two internal faces for the same bend, for example).