Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.05 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.05 KB

Sorting Hat

The Sorting Hat is a sentient hat at Hogwarts that magically determines which of the four school Houses each new student belongs most to. In this Python version based on OpenCV, you should answer some questions using eyes, looking left or right.

Demo

Getting started

  • Clone repository
git clone https://github.com/luca-ant/SortingHat.git
  • Install dependencies
sudo apt install python3-setuptools python3-pip python3-venv

or

sudo pacman -S python-setuptools python-pip python-virtualenv
  • Create a virtual environment and install requirement modules
cd SortingHat
python3 -m venv venv
source venv/bin/activate

python3 -m pip install -r requirements.txt

Running

Simply move to sh folder and run main.py

cd sh
python main.py