October 2018
Intermediate to advanced
246 pages
6h 26m
English
The ML Kit can detect landmark points that make up a face. These landmark points include the left eye, right eye, nose base, left-hand side of the mouth, and so on.
It detects the face independent of landmark information and doesn't use landmark information as the basis for identifying the whole face, so it is not enabled by default.
From the associated Euler Y angle, all the following landmarks can be identified:

Each detected landmark includes its associated position in the image. Here is how it is written in code:
/** Draws the face annotations for position on the supplied canvas. */@Overridepublic void draw(Canvas canvas) { ...
Read now
Unlock full access