Web based face detection and recognition using OpenCV