Android Question Customizeable selfies app?

pedropadel

Member
Licensed User
Longtime User
Hello!

I have a question. I would like to make an application in which you can mix the view of the camera with an image. It would be similar to the following:

i-fjzZV33-X3.0.jpg


Any option of doing so, any library?

Thank you very much!
 

JordiCP

Expert
Licensed User
Longtime User
Hi Pedro,

There are two cases here:

  • If you just want the user to "place" its face on the transparent part, then it should be quite easy with the schema you draw. However, you should compose the image "manually".
  • But if you want to detect faces "automatically", you must rely on OpenCV or camera facedetection capability (or perhaps other that I don't know). Look here (does not work with all phones)

In both cases, I recommend you to study canvas, mutablebitmaps, imageviews and Erel's cameraEx library
 
Last edited:
Upvote 0
Top