Rubik-s-Cube-Solver

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.

  1. Clone the repository
    $ git clone https://github.com/swapnil-tayal/Rubik-s-Cube-Solver.git
    
  2. Run
    $ pip install opencv-python
    
  3. Run
    $ pip install numpy
    

Click below for a sample VIDEO:

Watch the video