tori29umai commited on
Commit
5d7ff09
1 Parent(s): f77dc2b

Update utils/image_utils.py

Browse files
Files changed (1) hide show
  1. utils/image_utils.py +1 -1
utils/image_utils.py CHANGED
@@ -17,7 +17,7 @@ def background_removal(input_image_path):
17
  print(f"Error: Cannot open {input_image_path}")
18
  return None
19
 
20
- area_threshold=100 # 無視する小さい領域のピクセル数の閾値
21
  # 背景除去処理
22
  result = remove(input_image)
23
 
 
17
  print(f"Error: Cannot open {input_image_path}")
18
  return None
19
 
20
+ area_threshold=1000 # 無視する小さい領域のピクセル数の閾値
21
  # 背景除去処理
22
  result = remove(input_image)
23