/facial-recognition-saas-1

A facial recognition API built with the Django Rest Framework, React and OpenCV

Primary LanguageJavaScript

Facial recognition API SAAS

alt text

To learn how to build this application, head over to our website.

This project is a facial recognition API. Users are able to create an account, utilise a free trial of the API, and create a membership to have full access to the API. Payments are handled with Stripe. The API is built with the Django Rest Framework and the frontend is built with React. The image recognition library is OpenCV. The project is deployed on Ubuntu using Digital Ocean.

Backend development workflow

virtualenv env
source env/bin/activate
pip install -r requirements.txt
python manage.py runserver

Frontend development workflow

npm i
npm start

Deployment workflow

  1. Change the manage.py to use the production settings
  2. Change the constants.js file inside src to have DEBUG set to false
  3. Push to the production environment
  4. Run python manage.py migrate
  5. Run npm run build
  6. Run python manage.py collectstatic

Disclaimer

This project does not cover concepts of image recognition - it is a proof of concept teaching how to take an idea from scratch to something real.