"Virtual Mock Interview" or VMI is a platform that helps job seekers enhance their interviewing skills and helps companies filter potential employees using multiple ML models to analyze the interviewer behavior and their ability to answer questions.
- Mediapipe for iris tracking --> Indicates focus level
- Residual Masking Network for facial emotion detection --> indicates energy level
- GPT API for feedback in a natural language form.
- Clone the project
- Navigate to the backend directory
cd virtual_mock_interview/vmi-api
- Setting up conda environment:
- Download Anaconda if not installed
- Create conda environment
conda create -n myenv python
- Activate it
conda activate myenv
- Download required dependencies
pip install -r requirments.txt
- Setting up mysql database for questions table:
- Download mysql workbench` and mysql server if not installed through download link (Note: check 'start mysql server at system startup' and 'grant mysql server file permission' to avoid tons of hustle later. Watch a tutorial if confused )
- Start a new mysql connection and fill the information (Note: You can fill it anything but make sure you remember them as you will enter them in
.flaskenv
later on)then test the connection, if successful press ok and click on vmi_schemaconnection name: vmi-schema host name: 127.0.0.1 port: 3306 username: admin password: #set your own password
- Right click on tables, table data import wizard and add the questions.csv file which could be found here questions.csv
- locate
.flaskenv_example
in the backend directory, rename it to.flaskenv
, and add your database credentials. You will also need an OpenAI API key which could be optained from API Keys - Initing the flask server and the local file server:
- Open a terminal and navigate to the backend directory
cd virtual_mock_interview/vmi-api
- Activate conda environment
conda activate myenv
- Run the flask server
flask run
(Note: the first run will take a while as both models whisper and Residual Masking Network download and cache their model weights) - Once the flask server is up and running open another terminal, navigate to the backend directory and run the local file server
python local_file_server.py
- Open a terminal and navigate to the backend directory
-
- Open a third terminal, navigate to the frontend directory
cd virtual_mock_interview
and runnpm install
to install the frontend dependencies - Start the npm server via
npm start
- Open a third terminal, navigate to the frontend directory
Detailed documentation could be found in docs
Please reach out if you have any question regarding this project by openning an issue, DMing one of the three contributers or email me at [email protected]
Ahmed Aly.