This project concentrates on solving a unsolved Rubik's Cube. The program contains OpenCV libraries and when executed will show a live video from the webcam. When a unsolved Rubik's cube is shown in front of a camera, it will scan the faces of the Rubik's cube. These instructions will be displayed along with the live video in a text format. After a successful scan the program will start to give the instructions on the moves to be made using Augmented arrow on the cube in the live video. When these moves are followed we get the end product of a solved Rubik's Cube within 30 moves.
- Clone the repository
$ git clone https://github.com/VickneshB/RubiksCube
- Create an virtual environment using
$ python3 -m venv virtual environment name.
- Run
$ pip3 install -r requirements.txt
- Run
$ python3 main.py
Click below for a sample VIDEO: