A MERN Stack project with the help of Face API by Microsoft Cognitive Services which will predict the attention levels of students in the live classroom.
- Get the face API Subscription key and Endpoint from https://azure.microsoft.com/en-in/try/cognitive-services/
- Latest (LTS) version of Node.js (>= 10.16.2) and npm, installed in the system.
- MongoDB should be running in the background or can connect to online Database using MongoDB connection string which you will get from https://www.mongodb.com
- Clone or download the current repository.
- Navigate to the current directory in the terminal.
- Run "npm install" and then "cd client && npm install" in the terminal.
- Create file dev.env from the root directory and replace the strings.
- Create file .env inside client folder and put the subscription key and the Endpoint.
- Run MongoDB in the background or connect to the online server.
- Inside the root folder run the command "npm run dev". The web application will get opened in your default browser or go to http://localhost:3000 in your browser.