Show HN: My weekend project - Chessboard picture recognition
21–30 of 57 posts
Re: Show HN: My weekend project - Chessboard picture recognition
#22Very nicely done! Really appreciate the links to your reference material in the blog, saves me (and other noobs) from having to dig around and discover it ourselves. I'll definitely be keeping track of your progress. Good luck, dude!
Re: Show HN: My weekend project - Chessboard picture recognition
#23I did find a very recent paper on a chess playing robot which has some good starting points: http://www.cs.washington.edu/ai/Mobile_Robotics/postscripts/...
Re: Show HN: My weekend project - Chessboard picture recognition
#24Re: Show HN: My weekend project - Chessboard picture recognition
#25I have worked in machine vision projects in past. It's not going to be easy to recognize the pieces as is; I suggest that you use 2D pieces for chess. Even better, use some unique design like this one: http://www.chess.com/forum/view/general/experimental-chess-s...
Re: Show HN: My weekend project - Chessboard picture recognition
#26I think your best bet is to feed the the segmented chess board squares into a machine learning algorithm. You would have one which classifies squares as empty or not, and another which recognizes chess pieces. The difficult part is building up all the examples to do the training, picking the right algorithms to use (SVM, logistic regression, etc), and then transforming the raw data into the proper form for the algori…
Re: Show HN: My weekend project - Chessboard picture recognition
#27It's easy to find SIFT implementations, but you'll have to do some work to construct a training set of images for each type of chess piece. An elegant solution will probably detect the type of piece independent of its color, or the color of the square.
This might be ridiculously easy, or not work at all.
Re: Show HN: My weekend project - Chessboard picture recognition
#28I have worked in machine vision projects in past. It's not going to be easy to recognize the pieces as is; I suggest that you use 2D pieces for chess. Even better, use some unique design like this one: http://www.chess.com/forum/view/general/experimental-chess-s...
Re: Show HN: My weekend project - Chessboard picture recognition
#29I don't know anything about "chess theory" but are there some squares that only certain pieces can get to? I don't think it's possible for a Knight to ever be on some squares, so maybe you could use logic like that to narrow down the piece detection. It may be easier to just track the game state from the start instead of trying to identify the position of the board at a random snapshot in time. Cool project though, s…
Knights can make it everywhere. The only position you'd never see is pawns on the first or last rank (their movement is forward and they promote to stronger pieces when reaching the other side). EDIT: Another feature ... in a properly set up board, the bottom right square is always white.
Re: Show HN: My weekend project - Chessboard picture recognition
#30I have worked in machine vision projects in past. It's not going to be easy to recognize the pieces as is; I suggest that you use 2D pieces for chess. Even better, use some unique design like this one: http://www.chess.com/forum/view/general/experimental-chess-s...
Agree that it will be tricky to recognize the pieces, but what's the point in doing it with 2D pieces? The app would be (slightly) more exciting if it could help you record the state of any game anywhere in less than 5 seconds -- and allow you to continue playing online.