I am trying to use CoreML on the detected faces. My original idea was to capture the image of each detected face and then run that agains the models, but I can't figure out how to get the screenshot of each face. Any hints? I tried using the facebounds in the drawFaceboundingBox method and using that rect to crop the image, but they don't line up.
I am trying to use CoreML on the detected faces. My original idea was to capture the image of each detected face and then run that agains the models, but I can't figure out how to get the screenshot of each face. Any hints? I tried using the facebounds in the drawFaceboundingBox method and using that rect to crop the image, but they don't line up.