Webcam autozoom and autopan

I’d like to use touch designer to add auto zoom and auto pan to a live camera for a uni project. The idea is that the camera would move between different faces to create close-ups in the room and cut out to a “wide-shot” sometimes. Does anyone know if this is possible or if there are any good tutorials that might help?