Main Content

This robot detects and solves a 3x3 Rubik cube, tipically within 1 minute.
It uses a Raspberry pi and a PiCamera.
The robot works autonomously, or by sharing graphical info with a screen (or PC)
All coded in Python, also the solver made available by Mr. Kociemba (https://www.speedsolving.com/threads/3x3x3-solver-in-python.64887/) who I like to thank.
For the vision part I’ve used CV2 python library.
The exact same python script also works on PC with webcam, to detect the cube status and to obtain the suggested moves by the solver.”

Link to article