Skip to content

Latest commit

 

History

History
94 lines (71 loc) · 1.52 KB

README.md

File metadata and controls

94 lines (71 loc) · 1.52 KB

HCIR_Project

An interactive robot to assist incoming students find accommodation based on their preferences.

Getting Started

Cloning the repository

Clone the repository using

git clone https://github.com/rashid-tajdeen/HCIR_Project.git
cd HCIR_Project

Setting up the environment

Have virtualenv installed using

sudo apt install python3.8-venv

Create a virtual env using

python3.8 -m venv venv

Activate the virtual environment

source venv/bin/activate

Install the requirements using

pip install -r requirements.txt

If an error is thrown for building wheel for pyaudio, try the below line and rerun installing requirements

sudo apt-get install portaudio19-dev

Running modules

Face Recognition

  • Place a picture of yourself in the known_faces directory with your name. For example, rashid.jpg
  • From inside the source directory
cd src
  • Run the module using the command
python3 faceRecognition.py
  • A window pops up with the video stream and a labeled face.

Speech Recognition

  • From inside the source directory
cd src
  • Run the module using the command
python3 speechRecognition.py
  • Your speech will be printed on the console

Speech Recognition

Installing Rasa

pip3 install --upgrade pip
pip3 install rasa==3.6.15

Training Rasa

cd src/rasa
python3.8 -m rasa train

Usage

Run the application using

cd src
python3 pepper.py