I think you mean face recognition, not face recognition.
In general, face recognition works on a different look or texture in the face area. They also implicitly accept a mostly flat object.
You can use the same classifiers to detect other predominantly flat objects that differ in appearance, for example, facial features, such as eyes and mouth, book covers, etc.
Soda cans are cylindrical, so you may need to use several overlapping rotated views of each can to make them work.
source share