Compare commits

..

4 Commits

5 changed files with 23 additions and 1 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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,