Webglass was developed to provide a better "virtual try-on" solution for buying glasses online. It was written as a seinor project for my undergraduate computing science degree. Looking back at the code i'm not very happy with the code style and the general disorganization of the files. If you're trying to make sense of it all, I'm sorry. If I had drive to mainitan the project, I would rewrite it.
The projecy uses python3, which most operating systems have installed by default.
If this is not the case you can install it using:
sudo apt-get install python3Next you will need to install numpy. As with python3 this may or may not be pre-intsalled on your OS. If you already have numpy installed skip to installing OpenCv.
First you should install PIP
sudo apt-get install pip
Then you can install Numpy
pip install numpy
Lastly you will need to install OpenCV. Instructions can be found here.
Once you have the depenancies installed, clone the repo and run with
./main.py