技術開発室の馮 志聖(マイク)です。
前回の投稿。 cloud.flect.co.jp
I will introduce face recognition on javascript. And some algorithm for feature detection. Recently,JavaScript engines and browsers have become more powerful that building full-blown applications in JavaScript is not only feasible, but increasingly popular.
Feature detection
In computer vision and image processing feature detection includes methods for computing abstractions of image information and making local decisions at every image point whether there is an image feature of a given type at that point or not. The resulting features will be subsets of the image domain, often in the form of isolated points, continuous curves or connected regions.
Machine learning
- Neural Structured Learning (NSL)
https://www.tensorflow.org/neural_structured_learning
Google Tensorflow Blog have some content about "Neural Structured Learning in TensorFlow".
https://medium.com/tensorflow/introducing-neural-structured-learning-in-tensorflow-5a802efd7afd
Visualizing ML training using TensorFlow.js and Baseball data.
https://medium.com/tensorflow/predicting-balls-and-strikes-using-tensorflow-js-2acf1d7a447c
Face Detection & Recognition
- Haar-cascade Detection
Check this video from Youtube and see how Haar working.
- CNN
face-api.js
Face-api.js is a JavaScript API for face detection and face recognition in the browser implemented on top of the tensorflow.js core API. It implements a series of convolutional neural networks (CNNs), optimized for the web and for mobile devices. face-api.js implements the models SSD Mobilenet V1, Tiny Face Detector, and the experimental MTCNN.
https://www.sciencedirect.com/science/article/pii/S1077314215000727
DEMO
- Detect Feeling
- Verification
- Video Human emotions detection
Web verification base on face recognition
Web verification base on face recognition
Some idea for using case
最後に
Face recognition can use on many verification case.