mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-06 05:46:28 +08:00
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.
This commit is contained in:
parent
848a38e4cc
commit
3cbad20f33
2
USAGE.md
2
USAGE.md
@ -48,7 +48,7 @@ output = remove(input, post_process_mask=True)
|
|||||||
### Replacing the background color
|
### Replacing the background color
|
||||||
You can use the `bgcolor` argument to replace the background color.
|
You can use the `bgcolor` argument to replace the background color.
|
||||||
```python
|
```python
|
||||||
output = remove(input, bgcolor=(255, 255, 255))
|
output = remove(input, bgcolor=(255, 255, 255, 255))
|
||||||
```
|
```
|
||||||
|
|
||||||
### Using input points
|
### Using input points
|
||||||
|
Loading…
x
Reference in New Issue
Block a user