mustafa2ak commited on
Commit
6e6c198
·
verified ·
1 Parent(s): e9f70c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ class DatasetCollectionApp:
150
  gray = cv2.cvtColor(image_crop, cv2.COLOR_BGR2GRAY)
151
  laplacian_var = cv2.Laplacian(gray, cv2.CV_64F).var()
152
 
153
- if laplacian_var < 100: # Threshold for blur detection
154
  blur_rejected += 1
155
  continue # Skip blurry image
156
 
 
150
  gray = cv2.cvtColor(image_crop, cv2.COLOR_BGR2GRAY)
151
  laplacian_var = cv2.Laplacian(gray, cv2.CV_64F).var()
152
 
153
+ if laplacian_var < 75: # Threshold for blur detection
154
  blur_rejected += 1
155
  continue # Skip blurry image
156