florent37 / ShapeOfView

Give a custom shape to any android view, Material Design 2 ready
Apache License 2.0
3.12k stars 400 forks source link

face in clip image Center #67

Open charlizesmith opened 4 years ago

charlizesmith commented 4 years ago

I am using Shape of View to clip image into given shape. I have implemented it successfully. The issue is I want face at center in clip image. How to achieve that functionality? I use face detection and locate face but unable to translate face at the center of Clipped Image? I got related Library in IOS but not getting anything in Android. https://github.com/BeauNouvelle/FaceAware

I got below library in android but its doing cropping. https://github.com/aryarohit07/GlideFaceDetectionTransformation

anyone please help me out. Thank you