'Is there a way to modify the corsera's Face recognition assignment?

i tried to use the code provided in the course from coursera for face recognition to use it on an input image that i entered but it doesnt go well!

the code link: https://www.coursera.org/learn/convolutional-neural-networks/programming/OgKZl/face-recognition/lab?path=%2Fnotebooks%2FW4A1%2FFace_Recognition.ipynb

1- i tried to append a new dictionary item with encoding function of my new image. 1

2- i tried to use who_is_it function on another img for the same person but the result is not what intended to be. 2

Any help?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source