SathvikGanta commited on
Commit
a2cd147
·
verified ·
1 Parent(s): 5515b73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def compare_visual_changes(orig_img, edit_img, start_position):
44
  blurred_diff = cv2.GaussianBlur(gray_diff, (5, 5), 0)
45
 
46
  # Apply thresholding
47
- _, thresh = cv2.threshold(blurred_diff, 74, 255, cv2.THRESH_BINARY)
48
 
49
  # Morphological operations to clean noise
50
  kernel = cv2.getStructuringElement(cv2.MORPH_RECT, (5, 5))
 
44
  blurred_diff = cv2.GaussianBlur(gray_diff, (5, 5), 0)
45
 
46
  # Apply thresholding
47
+ _, thresh = cv2.threshold(blurred_diff, 70, 255, cv2.THRESH_BINARY)
48
 
49
  # Morphological operations to clean noise
50
  kernel = cv2.getStructuringElement(cv2.MORPH_RECT, (5, 5))