We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RemoveBg removeBg = new RemoveBg(CutOutActivity.this); removeBg.clearBackground(bitmap).collect(new FlowCollector<Bitmap>() { @org.jetbrains.annotations.Nullable @Override public Object emit(Bitmap bitmap, @NonNull Continuation<? super Unit> continuation) { return null; } }, new Continuation<Unit>() { @NonNull @Override public CoroutineContext getContext() { return null; } @Override public void resumeWith(@NonNull Object o) { } });
Please check above is there any issues?
Thank you.
The text was updated successfully, but these errors were encountered:
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 }
Sorry, something went wrong.
removeBg.removeBackground(bitmap); This will not return bitmap. It will return like that
removeBg.removeBackground(bitmap);
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?
No branches or pull requests
Please check above is there any issues?
Thank you.
The text was updated successfully, but these errors were encountered: