Final project of my undergraduation program.
Robot that uses a webcam to take pictures of the sides of the rubik's cube and creates a virtual model of it. It is possible to create any model by changing the colors of the cube in the program.
The cube can be solved by two methods, the layer methods, with a lot of rotations and another method that is near to the optimal.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
qt5
qmake
make
opencv2
Download the repo and
$ mkdir build
$ cd Rubiks-Cube-Solver/
$ chmod +x format.sh
$ chmod +x run.sh
$ make
$ cd ../build/
$ qmake ../cube/cube.pro
$ make
$ cd build
$ ./cube
- Using brownan cube solver: https://github.com/brownan/Rubiks-Cube-Solver
- Using Alyssaq squares.cpp: https://github.com/alyssaq/opencv