Skip to content

Dado555/rubex-cubex

Repository files navigation

rubex-cubex

Rubex-Cubex is a Rubik's cube detector and solver. It uses neural network with deep reinfocement learning to solve various states that the user inputs using their webcam and keyboard.

Running the project

Requirements

All the dependencies listed in the requirements.txt file have to be installed, preferably inside an enviroment created with venv specifically for Rubex-Cubex.

To install the requirements enter the following command in your terminal:

pip install -r requirements.txt

The application also requires a working webcam.

Using the application

To run the main application start the main.py file inside the face-recognition folder:

python main.py

When the application runs the user is promted with a message on how to enter the detected faces of the Rubik's cube in frame. As soon as the application detects a Rubik's cube face it shows a preview of the colors it has read.

If the user is not satisfied with the predefined color values, they can calibrate the colors their colors according to their Rubik's cube.

To exit the application use the ESC key. As the application exits it will print out the moves needed to solve the given Rubik's cube.

Developers

  • Dalibor Malić, SW-50/2018
  • Darko Tica, SW-22/2018
  • Zoran Jankov, SW-8/2018

About

Rubik's cube scanner and solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages