Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 1.91 KB

README.en.md

File metadata and controls

59 lines (35 loc) · 1.91 KB

CubeSolver

CubeSolver is a program that that can learn you how to solve a cube written in python. PyOpenCV was used for color recognition and OpenGL was used for 3D cube.
Used Beginner's method and CFOP method to formulate a solving algorithm.

3D Rubik's Cube of this Project was made by reference to PyCube

Project Video (youtube)


Environment

Pycharm 2020.1

Python 3.7.7

anaconda 4.8.2


Dependencies

This program utilizes the following Python modules:

OpenCV-Python

PyOpenGL

Pygame

NumPy

itertools

Python 3.x:

pip3 install opencv-python PyOpenGL PyOpenGL_accelerate pygame numpy


Solving Progress

Color Detection

Alt text Cube color analyzing using OpenCV-Python

Create Planar figure

Alt text Create Cube's planar figure to take a look the color is well recognized. (It's not the complete planar figure)

3D Cube

Alt text
3D cube that let you know how to solve Rubik's cube by press right arrow on your keyboard is show up.(3D cube is made with PyOpenGL and rendered by Pygame)
The Program's name changes as you progress to show percentage of progress.

Alt text
If you press left arrow on your keyboard, the cube will show previous step.