There are some ways to do that by creating web APIs. First you need to choose which platform are you gonna work with it.
If you know about opencv ad python you can start web service API as mentioned in step 1
1. create web service as shown in here
click here
2. Have look at OpenCV face recognition library.
3. you can make client app like Android or windows based on your expertise.
Enjoy !!!