Skip to content

mmmaks/Kyuubi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kyuubi

A 3x3 Rubik's Cube Solver

What is Kyuubi?

Kyuubi is a 3x3 Rubik's Cube Solving Guide which helps the user to solve the Rubik's Cube by inspecting the faces of the cube and then advising the user a set of moves which will result in a fully solved cube.
NOTE - Kyuubi is currently evolving into a fully functional robot which will be able to solve the cube on its own!

Requirements -

  1. Python
  2. Opencv library in Python
  3. g++

Installation Procedure -

  1. Download Kyuubi by clicking here
  2. Extract the downloaded zip file to the Desktop (i.e Kyuubi-master should be at your Desktop)
  3. Open the terminal and execute the following commands in specified order -
    • cd ~/Desktop/Kyuubi-master
    • python Train.py
      • Your webcam will open showing a 3x3 Grid, now you have to train the program by showing it all the six solved faces of cube.
      • To show a face just take the cube so that the colors get filled into the 3x3 grid and then hit the "space" button
      • Show the blue face first, followed by Red, Yellow, Orange, White and Green in the specified order
      • The program will stop the moment you have fed all the six faces to it (Make sure you follow the order of colors)
    • python read.py
      • The webcam will open showing the same 3x3 grid but as soon as you place your cube in front of it, It will suggest the color of each cubie detected by it.
      • Now Scramble the cube
      • Now Keep the Red face on front so that Blue face becomes top
      • Now feed the program with the scrambled faces in the following order - Blue, Red, Yellow, Orange, White, Green
      • To feed the face just take the face in front of the grid and when you feel that all detected colors are correct, just hit the "space" button
      • The program will end when you have fed all the six faces to it
    • cd Algorithm
    • g++ layer3.cpp
    • ./a.out < inp
    • cat out.txt
    • You will have a set of moves to solve the cube. To read about the moves please read "Moves.txt"

    Owners -

    The project is owned by -
    1. Aditya Shankar Tripathi
    2. Manish Kumar Sinha

    Request to User

    For any bugs, just drop a mail at megatron6496@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •