LiteCCTV API is Web API to help LiteCCTV Android Application features. This Web API will receive an image from LiteCCTV Android Application and will do analysis to get Face Images from the image. After that, this Web API will predict emotion of the Face Images.
- Update dependencies by using
apt get update. - Install virtual environment by
pip3 install virtualenv - Clone this repository by typing command
git clone [git url]. - Set working directory to it.
- Create new virtual environment called env
virtualenv env. - Activate the virtual environment
. env/bin/activate. - Install python pip by using
apt install python3-pip. - Install django rest framework, OpenCV, Tensorflow 2 by using
pip install djangorestframework opencv-python tensorflow. - Run
py manage.py runserver [server ip]
- OpenCV for Face Recognition
- Tensorflow 2 for Emotional Prediction
- Django for Web Framework
- Django Rest Framework for Web API
Model that this application use to predict emotion from face image is taken from Karan Sethi's Work