This is sample code of background remover tool for android.
Basic functions:
Eraser: change some part of image to transparent
Magic: Auto select region to remove
Mirror: flip image
Position: change position of image in screen, zoom in/out
Try on: try your image with a body
If have any question, contact me at dung8910@gmail.com
Demo available in playstore at :
https://play.google.com/store/apps/details?id=com.abc.android.selfie