Presence detection component using facial recognition technology

Inspired by Mark’s Jarvis, I am wondering is there any possibility of using facial recognition technology as presence detection component component in HA?