Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 36a725ba10 | |||
| 1dd6c889e5 | |||
| 7aaac44a49 | |||
| ffcb69ce02 |
File diff suppressed because one or more lines are too long
@@ -77,7 +77,7 @@ def _content_bbox(img, alpha_threshold: int, bg_tolerance: int):
|
||||
def crop_to_content(
|
||||
img,
|
||||
*,
|
||||
pad_ratio: float = 0.06,
|
||||
pad_ratio: float = 0.02,
|
||||
square: bool = True,
|
||||
alpha_threshold: int = 10,
|
||||
bg_tolerance: int = 16,
|
||||
|
||||
Reference in New Issue
Block a user