This is an android library for removing background from the image.

You have to give the bitmap of the image to this library and the library will return the bitmap with the removed background.


Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			maven { url '' }

Add the dependency

dependencies {
	        implementation 'com.github.GhayasAhmad:auto-background-remover:1.0.1'


BackgroundRemover.bitmapForProcessing(bitmap, object: OnBackgroundChangeListener{
            override fun onSuccess(bitmap: Bitmap) {
                //do what ever you want to do with this bitmap

            override fun onFailed(exception: Exception) {



View Github