/RubiksCube

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

RubiksCube

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/VickneshB/RubiksCube
    
  2. Create an virtual environment using
    $ python3 -m venv  virtual environment name.
    
  3. Run
    $ pip3 install -r requirements.txt
    
  4. Run
    $ python3 main.py
    

Click below for a sample VIDEO:

Watch the video