OpenCV C C++ Computer Vision Face Recognition Web Service
Face Detector
Face Recognition even before FB
Face Detector is a program developed in C as a set of tools for Baby Builder solution. We created a Web Service accepting images as input, doing face recognition then exposing the results as JSON data. Such results were rendered in the front-end.
Face Detector was a challenge solution since not similar solution were in market, so we created a first one from scratch. We used openCV library to achieve that goal and open source haarcascades. In a learning-by-doing procedure we used this approach:
- Loading the image in memory
- Resize greater images to a predefined width and height
- Converting the image to gray-scale
- Normalize image's brightness and increases contrast
- Running our algorithm to recognize faces
- Expose results
Of course with such approach fake recognition were possible on pictures, but Face Detector is smart enough to avoid them.
* Screen shots provided also include fake detection.
Several technologies where used, among others
- C/C++
- OpenCV
- Cascades
- Linux
- JSON
- Web Services