Skip to content

luca-ant/SortingHat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple project based on OpenCV which shows how to use eyes as an input system to answer a quiz game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages