the idea for this came from this old video of Andrej Karpathy
basics of how it works:
- tfjs model finds where the cube is in the frame
- opencv.js extracts locations and colors of each sticker
- solves cube using simplified version of Herbert Kociemba's Two Phase algorithm
you can find the source code here