In this recipe, you will use the Camera plugin to create a canvas for ML Kit’s vision models. The camera plugin is not exclusive to ML but is one of the prerequisites for ML visual functions that you will use in the following recipes in this chapter.
By the end of this recipe, you will be able to use the device cameras (front and rear) to take pictures and use them in your apps.