SathvikGanta commited on
Commit
1987760
·
verified ·
1 Parent(s): 7861286

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -41,8 +41,7 @@ def compare_visual_changes(orig_img, edit_img, start_position):
41
  gray_diff = cv2.cvtColor(diff, cv2.COLOR_BGR2GRAY)
42
 
43
  # Apply Gaussian blur to reduce noise
44
- # Skip Gaussian blur
45
- blurred_diff = gray_diff # No blurring
46
 
47
 
48
  # Apply thresholding
 
41
  gray_diff = cv2.cvtColor(diff, cv2.COLOR_BGR2GRAY)
42
 
43
  # Apply Gaussian blur to reduce noise
44
+ blurred_diff = cv2.GaussianBlur(gray_diff, (5, 5), 0)
 
45
 
46
 
47
  # Apply thresholding