In this chapter, we will build a Flutter application that is capable of detecting faces from media uploaded from the gallery of a device or directly from the camera using the ML Kit's Firebase Vision Face Detection API. The API leverages the power of pre-trained models hosted on Firebase and provides the application, the ability to identify the key features of a face, detect the expression, and get the contours of the detected faces. As the face detection is performed in real time by the API, it can also be used to track faces in a video sequence, in a video chat, or in games that respond to the user's expression. The application, coded in Dart, will work efficiently on Android and iOS devices.
In this chapter, we will be covering the following topics:
- Introduction to image processing
- Developing a...