Skip to content
A computer vision Rubik's cube solver implementing Kociemba's two-phase algorithm.
Python C C++ JavaScript TeX Jupyter Notebook
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kociemba
static
templates
venv
.gitignore
README.md
main.py
requirements.txt

README.md

CV Cube Solver

Live Demo

Try me!

About

A computer vision Rubik's cube solver implementing Kociemba's two-phase algorithm.

Created as a Python web application utilizing the OpenCV library for image recognition, the TwistySim JavaScript API for puzzle visualizations, and Maxim Tsoy's Python port of Kociemba's algorithm.

Dependencies

(see requirements.txt)

  • Python 3
  • Flask 1.0.2
  • opencv-python 3.4.2.17

Usage

$ git clone https://github.com/raymondtruong/cv-cube-solver.git
$ cd cv-cube-solver
$ . venv/bin/activate
(venv) $ pip3 install Flask
(venv) $ pip3 install opencv-python
(venv) $ python3 main.py

The app can then be accessed at 127.0.0.1:5000.

Screenshots

Capture Preview Solve

You can’t perform that action at this time.