Update training images
|
@ -4,8 +4,8 @@ import math
|
||||||
import cv2
|
import cv2
|
||||||
|
|
||||||
|
|
||||||
label = "vince"
|
label = "Feier_Zhang"
|
||||||
num_cap = 12
|
num_cap = 20
|
||||||
|
|
||||||
path = sys.path[0]+'/Facial_images/face_rec/train/'+label
|
path = sys.path[0]+'/Facial_images/face_rec/train/'+label
|
||||||
|
|
||||||
|
|
|
@ -228,7 +228,7 @@ def face_recognition_inference(rec_type):
|
||||||
|
|
||||||
if __name__=="__main__":
|
if __name__=="__main__":
|
||||||
mode = 'test'
|
mode = 'test'
|
||||||
rec_type = 'Fisher' # 'LBPH' 'Fisher' 'Eigen'
|
rec_type = 'Fisher' # 'LBPH' 'Fisher' 'Eigen'
|
||||||
|
|
||||||
if mode == 'train':
|
if mode == 'train':
|
||||||
training_recognizer(rec_type)
|
training_recognizer(rec_type)
|
||||||
|
|
BIN
Facial_images/face_rec/train/Feier_Zhang/0.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/1.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/10.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/11.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/12.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/13.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/14.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/15.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/16.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/17.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/18.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/19.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/2.jpg
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/3.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/4.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/5.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/6.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/7.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/8.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
Facial_images/face_rec/train/Feier_Zhang/9.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
output.jpg
Before Width: | Height: | Size: 423 KiB |