USB chess: why can't this technology replace dgt board

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
hgm
Posts: 27809
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: USB chess: why can't this technology replace dgt board

Post by hgm »

Recognizing a setup position might be difficult, but if the program can watch the board while the position is being setup, it might still be feasible. Putting the piece on the board is not very different from making a move. You might have to identify the dropped piece, though, but I could imagine this could be done by measuring the height. If not, you could require that positions are setup starting with all pieces next to the board in a prescribed order, so that the program can see which one you grab.

Another way would be to mount the camera straight above the board, and determine piece type by measuring the diameter of the base. Even with 640x480 resolution a square could be 60x60 pixels, and it should be possible to resolve size differences that are ~2% of the square size.

I never said it would be easy, or that it would have to work automatically with each conceivable Chess set. (You could train it on a particular Chess set first.) But if it is possible to render detailed 3D images including shadows and reflections by ray tracing, it seems to me the opposite should be well within reach. There seems to be software that you just present images taken from 3 different directions of an object, and it determines a polygon model of it for 3D rendering. With such a model of the Chess set, when you can recognize that something appeared on a certain square you could simply have your 3D rendering engine generate an image with every possible piece on that square, and compare the generated pictures pixel by pixel with the scene actually seen by the webcam, to determine which one matches best.
Karmazen & Oliver
Posts: 374
Joined: Sat Mar 10, 2007 12:34 am

Re: USB chess: why can't this technology replace dgt board

Post by Karmazen & Oliver »

I like you post

good post.

bye.
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Square perception can be tricky

Post by sje »

User avatar
tiger
Posts: 819
Joined: Sat Mar 11, 2006 3:15 am
Location: Guadeloupe (french caribbean island)

Re: Square perception can be tricky

Post by tiger »


Unbelievable but true. I have just checked with the Gimp!


// Christophe
User avatar
Steve Maughan
Posts: 1221
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: Square perception can be tricky

Post by Steve Maughan »

WOW!!!! This is the best optical illusion I have ever seen!!

Steve
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: USB chess: why can't this technology replace dgt board

Post by jshriver »

Nice link, Im planning to get one now. When I do acquire it Ill try and write a xboard translator so it can be used with normal programs and engines. Looks like a wonderful piece of hardware.

Despite the cricism, Im not concerned if its autosensory or if you have to press down on it. As long as its a world device that lets me interactively place chess against a computer then it has my vote.

Will be interesting to see :)

Have a good evening everyone, nice to be back in the scene from my hiatus.
-Josh
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Square perception can be tricky

Post by jshriver »

That is pretty amazing. I had my doubts when I looked at it, even used my fingers to cross out adjacent squares, still looked different.

Alone and behind I load it up in gimp and its true.
The background color on both images is #6b6b6b

Nifty stuff, thanks for the link.
-Josh