Check out this awesome video of a Robotic arm playing tic-tac-toe using image processing in raspberry pi from Leroy Pereira.
This arm was built as part of our internship project at PCCE. We has interfaced a web-cam with the raspberry pi to detect the user’s move.The pi then detects how many pixels are red in color determining where the user has made his move. Once the move has been detected, Raspberry pi automatically directs the arm to move a piece to the appropriate position. The entire code is written in python. The tic-tac-toe algorithm is so designed that the user never wins. 😛 (up to date no one has won.. :P)
-Special thanks to Evy sir for all his help.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!