NassimeBejaia commited on
Commit
a59ff1a
1 Parent(s): cf747f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -166,7 +166,7 @@ def process_image(selected_image):
166
 
167
  adaptive_threshold = filters.threshold_local(gray_image, block_size=35, offset=10)
168
 
169
- binary_adaptive = gray_image_array > adaptive_threshold
170
 
171
  thresh = binary_adaptive
172
 
 
166
 
167
  adaptive_threshold = filters.threshold_local(gray_image, block_size=35, offset=10)
168
 
169
+ binary_adaptive = gray_image > adaptive_threshold
170
 
171
  thresh = binary_adaptive
172