neha01 / FaceRecognition

Face Recognition using OpenCV in Python
163 stars 146 forks source link

Why do we have resizedimagesfolder here ? #12

Open akashjain0207 opened 4 years ago

akashjain0207 commented 4 years ago

This is not an issue but curious to know why do we have resizedimages folder. Code worked fine without that folder too. But if I have to use this code on my own dataset, can I resize it first and run the trainer to save time ? Will the accuracy be same ?

harry418 commented 4 years ago

Resized image is used for Machine learning and Deep learning models. These model takes input image with same size on which model is trained. If you are not Detecting or predicting anything ,then it is not necessary to resize image.

Other method is you can resize image using for loop and cv2.resize function. no need to save image in a folder.