We make use of microsoft emotions api in this piece of code to feed an image and get an output image file with face detected in the given image and marked using square box.The output image also contains the age and emotion of the subject written in it.
The code is written in python.Do install the necessary libraries used in the code through PiP before executing the code.Jupyter Notebook was used as the work environment and hence the output file is in .ipynb.