📷
Rubik Tracking
Tracks a green-colored object (e.g., a Rubik's cube) in a live webcam feed using OpenCV color masking and draws its motion trail on screen.
Tracks a green-colored object (e.g., a Rubik's cube) in a live webcam feed using OpenCV color masking and draws its motion trail on screen.
Tracks a green-colored object (e.g., a Rubik's cube) in a live webcam feed using OpenCV color masking and draws its motion trail on screen.
python rubik-tracking.py. The webcam starts and a window titled "Rubik's cube tracking" opens showing the live feed.q to stop the stream and close the window.pip install opencv-python imutils numpy
python rubik-tracking.py