Hi guys,
I am working on a project that allows me to play chess with a robotic arm.
I want to know if it’s possibile to solve the following problems with OpenCV:
Find the center-point of a chess-figure (The robot must place the chess piece in the centre of each square)
determine the alignment of the horse, because the horse can be be only griped in a certain direction.
If yes can you pleasure help me or give me some ideas ?
Thank you
First idea that comes to my head: use a RGB-D camera (like Intel RealSense) to get a 3D point cloud of the chessboard and the pieces. This will simplify the task a lot - like elimination of parallax effect, correct height of each piece etc.
The PCL library is probably better in processing the point clouds. Try a template matching to recognize the pieces.
No. I don’t have a chessboard. And I don’t have a chess-playing robot neither.
Take care, this is an advanced project. So be prepared to learn and work a lot to make this work. There is no magic robot.playChess() function or 10 minute youtube video with the solution.
thank you
i have a question if we can find the corners of each square so how can we find the centre of this square ? because the robot arm need to put the chess figures exacty in the centre .
thank you