Ajay98 commited on
Commit
e04eb02
·
verified ·
1 Parent(s): 565b5c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,8 +7,8 @@ unknown_folder_path = r"C:\Users\nikit\OneDrive\Desktop\Test2" # Replace with t
7
 
8
 
9
  def compare_images(image1, image2):
10
- # Read the images
11
- img1 = cv2.imread(staff_folder_path)
12
  img2 = cv2.imread(unknown_folder_path)
13
 
14
  # Check if both images are loaded properly
@@ -48,4 +48,4 @@ def compare_folders(staff_folder, unknown_folder):
48
  # Usage
49
  staff_folder_path = 'path/to/staff/images'
50
  unknown_folder_path = 'path/to/unknown/images'
51
- compare_folders(staff_folder_path, unknown_folder_path)
 
7
 
8
 
9
  def compare_images(image1, image2):
10
+ Read the images
11
+ ##img1 = cv2.imread(staff_folder_path)
12
  img2 = cv2.imread(unknown_folder_path)
13
 
14
  # Check if both images are loaded properly
 
48
  # Usage
49
  staff_folder_path = 'path/to/staff/images'
50
  unknown_folder_path = 'path/to/unknown/images'
51
+ compare_folders(staff_folder_path, unknown_folder_path)###