Skip to content

isdaniarf/cube-tracker

Repository files navigation

This is a C++ implementation based on Andrej Karpathy's project on python with addition of solver.

Dependencies

  • OpenCV 2.3

Usage

This program basically takes input from your webcam to track Rubik's Cube. After the Rubik's cube appears on the frame, the program will show a grid and circles representing the cube. The solver then can provide a solution to the captured cube in Singmaster notation.

Keyboard shortcuts

  • capture the current detected cube and save it into the buffer
  • x process the captured cube into discrete pre-defined colors (requires all 6 sides of cube to be taken)
  • n move the pointer to the left
  • m move the pointer to the right
  • c clear everything on the screen
  • s solve the cube (it will generate pruning table if it not yet exist)

About

Implementation of Andrej Karpathy's Python code in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages