I am trying out the example app for flutter camera ml vision Now what I want to do is take a picture of the face within the bounds of the custom painter only and save as a png.
With the default example the custom painter which is a square with a thick red border shows around the detected face but now what I need help with is taking a picture of the face within that square.
Basically you want to crop face part from the original image.So use this library to crop image. So I.m assuming that you have the coordinates value of face as you showing box around face.
Import this image library and use below method to crop image: