Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chess Playing Bot. Detecting Green coloured squares using Blobs.

Similar presentations


Presentation on theme: "Chess Playing Bot. Detecting Green coloured squares using Blobs."— Presentation transcript:

1 Chess Playing Bot

2

3 Detecting Green coloured squares using Blobs

4 Detecting white coloured squares Using these two images, centroids of each square are computed and stored

5 0 0 0 0 1 1 Detecting which positions are occupied by black pieces

6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Detecting which positions are occupied by black pieces after making a move

7 1 Subtracting the two configurations gives us the move-> -1 =initial position and 1=final position

8 Initial configuration of board, printed by program Final configuration of board, printed by program

9 After Detecting the move of the human, it is sent to the chess playing algorithm which then calculates a move and prints it as its output User’s move is written in a file from where the algorithm reads it and Outputs its move in a different file from where our algorithm reads and passes it to the bot to execute This move is then executed by the bot Calculating The Move

10 ALGORITHM Executing the move using the Robot Calculating best possible move using chess playing program Detecting the Move of human

11 The bot communicates with the PC with the help of an IR tower which we were able to run on windows7 (32 bit) To program the bot using a software called BricxCC which uses a gcc-H8 cross compiler to compile C++ files and transfer them to the bot to execute.

12 Even though we succeeded in communicating with the RCX module, we were unable to fully control the arm because we weren't able to calculate the angles through which the motors should be rotated to pick up the pieces.

13 The Camera Our Bot

14


Download ppt "Chess Playing Bot. Detecting Green coloured squares using Blobs."

Similar presentations


Ads by Google