From 3cbad20f33b1bf6408b7f134b66f3760d3316962 Mon Sep 17 00:00:00 2001 From: Aashrut Vaghani <49032425+Aashrut@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:10:37 +0530 Subject: [PATCH] Update USAGE.md (#467) Updating Usage file to fix the following issue: https://github.com/danielgatis/rembg/issues/452 When replacing the background color, we require RGBA value, and all of that values should range from 0-255. --- USAGE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/USAGE.md b/USAGE.md index 51b3fed5..8881f4e7 100644 --- a/USAGE.md +++ b/USAGE.md @@ -48,7 +48,7 @@ output = remove(input, post_process_mask=True) ### Replacing the background color You can use the `bgcolor` argument to replace the background color. ```python -output = remove(input, bgcolor=(255, 255, 255)) +output = remove(input, bgcolor=(255, 255, 255, 255)) ``` ### Using input points