Open jinkalzalavadiya opened 4 months ago
execute the following code on a worker thread
Bitmap bitmap = yourBitmap.copy(Bitmap.Config.ARGB_8888, true);
Bitmap result = removeBg.removeBackground(bitmap);
if(result != null) {
//success
} else {
//error
}
removeBg.removeBackground(bitmap);
This will not return bitmap. It will return like that
Flow<Bitmap> bitmap1 = removeBg.clearBackground(bitmap);
Have you implement on your JAVA project?
call this function, it will return a Bitmap. https://github.com/AppcentMobile/removebg/blob/master/removebg/src/main/java/dev/eren/removebg/RemoveBg.kt#L56
@YueDev Hey! sorry im new to this can you explain if this library works with java?
Please check above is there any issues?
Thank you.