android-gpuimage-plus icon indicating copy to clipboard operation
android-gpuimage-plus copied to clipboard

How to do face effects

Open tjasmin111 opened this issue 2 years ago • 8 comments

Is it possible to use it to automatically do facial effects such as making nose smaller or eyes bigger (no mouse clicks)? How can we do that with good quality like filters we see on Instagram or Snapchat?

Any tips or samples would be appreciated.

tjasmin111 avatar Sep 03 '23 13:09 tjasmin111

Sure, checkout the old branch here: https://github.com/wysaid/android-gpuimage-plus/tree/face_features

I did not previously find a suitable open-source library for face landmark recognition, and the functionality of the one I have chosen is not as accurate either.

wysaid avatar Sep 04 '23 03:09 wysaid

Sure, checkout the old branch here: https://github.com/wysaid/android-gpuimage-plus/tree/face_features

I did not previously find a suitable open-source library for face landmark recognition, and the functionality of the one I have chosen is not as accurate either.

So it's deprecated for now.

wysaid avatar Sep 04 '23 03:09 wysaid

Why don't you update that Branch? I think an automatic filter would be more desirable than click based

tjasmin111 avatar Sep 04 '23 03:09 tjasmin111

I didn't find a suitable open-source library for face landmark detection at that time. However, if you know any, could you please recommend a few to me?

wysaid avatar Sep 04 '23 03:09 wysaid

Yes, google ML kit looks good. I played with it a bit. It has both face landmark detection and face mesh. I just don't know how to use them for facial effects and warping.

tjasmin111 avatar Sep 04 '23 03:09 tjasmin111

Looks good, I'll give it a try, but it won't be so fast. You can also try providing a PR for this feature.

wysaid avatar Sep 04 '23 03:09 wysaid

I don't have much to contribute but sure if I had anything. I'd rather stay tuned. This a lovely feature and we should do it!

tjasmin111 avatar Sep 04 '23 04:09 tjasmin111

try MediaPie

WoYang avatar Feb 01 '24 06:02 WoYang