My Personal Thoughts on Face Recognition

Can the object recognition capability identify how long a person stays within a certain area in a video? For example: In a café, the camera can recognize which customers stay longer, and the café can provide differentiated service based on that information.