Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 616 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 616 Bytes

Facial_Expression_API

An API to detect facial expression's either by cam or by uploading image.

Steps :

  1. Install the requirements : pip3 install -r requirements.txt
  2. Now all you have to do it is run : python3 api.py
  3. The app should be up and running at : http://localhost:5000
  4. Valid end points are : http://localhost:5000/cam => cam will open up and recognize your expression providing 1st two guesses
  5. You can modify predict_emotion function in api.py to format the prediction in required format.
  6. We can also send an image to the API and get the result back : http://localhost:5000/img_upload