ravinder2024 commited on
Commit
f680bf4
·
verified ·
1 Parent(s): 357a5ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -17,18 +17,18 @@ st.title("Face Recognition ")
17
  Images = []
18
  classnames = []
19
 
20
- # read images and train the face_recognition package
21
- # img1 = cv2.imread(p1)
22
- # Images.append(img1)
23
- # classnames.append("Sarwan")
24
-
25
- # img2 = cv2.imread(p2)
26
- # Images.append(img2)
27
- # classnames.append("RattanTata")
28
-
29
- # img3 = cv2.imread(p3)
30
- # Images.append(img3)
31
- # classnames.append("RavinderKaur")
32
 
33
  directory = "facerecognition"
34
  myList = os.listdir(directory)
 
17
  Images = []
18
  classnames = []
19
 
20
+ #read images and train the face_recognition package
21
+ img1 = cv2.imread(p1)
22
+ Images.append(img1)
23
+ classnames.append("Sarwan")
24
+
25
+ img2 = cv2.imread(p2)
26
+ Images.append(img2)
27
+ classnames.append("RattanTata")
28
+
29
+ img3 = cv2.imread(p3)
30
+ Images.append(img3)
31
+ classnames.append("RavinderKaur")
32
 
33
  directory = "facerecognition"
34
  myList = os.listdir(directory)