flask == 1.1.1
tensorflow == 2.1.0
Keras == 2.3.1
Numpy == 1.18.1
opencv == 4.1.0
- Type this command in Terminal
$ cd Keras_Flask_classifier
- Type this command in Terminal
$ python3 run.py
- Put the link to your web browser *The link will show up when you execute the procedure 2
http://127.0.0.1:5000/
- The app will tell you whether the woman is my type or not
(It sometimes fail to detect the face in the uploaded image)
Caution!
The face detection model used in this app doesn't recognize leaned faces.
-
https://github.com/nishipy/obama-smalling-flask (Actually, I borrowed most of the code in the repository above)