Reputation: 9
in my application i have 2 images(ex:2 persons photos),
one background image is there one foreground image is there. now i want to cut face part from foreground image and attach that face to background image and finally i want to generate final image contain background image body and foreground image face.
Could you please help me..
Thanks in advance
Upvotes: 0
Views: 1855
Reputation: 33792
how can we convert FaceDetector.Face to bitmap image in android
The algorithm will be sort of like this :
A
. If you can get an oval shape proportional to the eye distance, it is even better. ............................
Note: you have to take care of the Euler angles too, if the face is tilted.
Upvotes: 3