With the basic understanding of how a CNN works from Chapter 1, Introduction to Deep Learning for Mobile, and how image processing is done at the most basic level, we are ready to proceed with using the pre-trained models from Firebase ML Kit to detect faces from the given images.
We will be using the Firebase ML Kit Face Detection API to detect the faces in an image. The key features of the Firebase Vision Face Detection API are as follows:
- Recognize and return the coordinates of facial features such as the eyes, ears, cheeks, nose, and mouth of every face detected.
- Get the contours of detected faces and facial features.
- Detect facial expressions, such as whether a person is smiling or has one eye closed.
- Get an identifier for each individual face detected in a video frame. This identifier is consistent across invocations...