Skip to content

Solving a rubik cube using OpenCV and KMeans algorithm

Notifications You must be signed in to change notification settings

iquibalamhm/rubik-cube-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubik-cube-solver

You have to face the robot in the following order for it to be desplayed correctly with matplotlib.

g -> r -> b -> o -> y -> w

F -> R -> B -> L -> U -> D

Match the colors with the faces, i.e. green (g) with Front (F), red(r) with Right (r), blue (b) with Back (B), orange (o) with Left, yellow (y) with Up (U) and white with (Down). If your cube does not have this color order, don't worry, while you present the faces in the order (F,R,B,L,U,D) it will work.

The following shows an example representation of what can be achieved with a successful scan of the cube. Flat representation of the cube

About

Solving a rubik cube using OpenCV and KMeans algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages