GoogleFaceDetection icon indicating copy to clipboard operation
GoogleFaceDetection copied to clipboard

can crop face shap ?

Open Chonlavit opened this issue 8 years ago • 4 comments

I want to crop face shap but I have no idea can you tell me ?

Chonlavit avatar Oct 27 '17 10:10 Chonlavit

do you want a contour of the face or just a rectangle where the face is ?

Willjay90 avatar Oct 28 '17 02:10 Willjay90

I want a contour could you tell me?

Chonlavit avatar Oct 28 '17 03:10 Chonlavit

I think it's a little bit difficult for mobile vision API to do that. It provides a bounding box of the face (in rectangle), and some face landmarks (positions). You can crop the image with that bounding box containing a face.

Also, with Vision framework, provided by Apple, you can use VNFaceLandmarkRegion2D to draw some regions like this.

Willjay90 avatar Oct 30 '17 01:10 Willjay90

Hey, is this code under MIT?

nextgeniosapps avatar Jan 22 '18 23:01 nextgeniosapps