Why have we resized Face Section here
Face Section resizing
Hey @shubham_sinhak, when we apply KNN algorithm, we need to calculate distance between query point, and for calculating distances every training example must have same shape, so to maintain this uniformity, we have resized it to a specific size. If we did not do so than, there will be images in training data of different sizes, and you will unable to calculate distance between them and testing image.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.