Face Recognition interface to Arduino

Hi. I would like to ask if anyone knows any suitable face recognition program that can detect human face then send signal to arduino? I'm wondering which one would be easier to do: to use face recognition on the web, or do face recognition with matlab? Trying to reduce the time to complete the face recognition..