|
BGonline.org Forums
Phones & BG
Posted By: Henrik Bukkjaer In Response To: Phones & BG (Frank Berger)
Date: Wednesday, 14 April 2010, at 9:12 p.m.
Well, yes and no...
I haven't thought it through myself - a colleague and backgammon team-mate of mine have gone a little bit further on this subject I think.
But if I should shoot from the hip:
First of all, you need to locate the board corners in the picture, so you can "square up the board", fixing skewed photos perspective errors, etc. This can be done in many ways I guess.
But basically there are two different scenarios: Known board and checkers - unknown board and checkers. The first one should open up for much more simple solutions, both as to locating the board corners and the checkers.
There are many different techniques and pieces that could be put together, depending on the scenario. Edge detection being central I think. If I recall correctly from my days in school, there were some transformation called Huff that could be used to find circle shaped objects in a picture. IBM has recently improved the license-plate detection/scanning software to a high extend, so it works from a cam mounting in the grill of a police car, and scans every plate it can pick up from the images - first it was used in the Stockholm road pricing project, and worked in all sorts of weather, rain, dark/light strange angles, dirty plates, etc. by manipulating the image and rescanning (eg. swirling the image, changing bightness, contrast, etc. until the result could be used).
Well, basically I'm just thinking, if I were to do this, I'd google around looking at RED EYE REMOVAL software and algorithms. First step is to locate the red eyes, and that very similar to locate checkers (both are round and you know the approx. color).
For known board and checkers, I think you could go even more simple, especially if you marked the board corners to be easily spotted.
I saw Johnny Chung Lee present some software for squaring up projected images to skewed screens (and even moving screens). To begin with he had sensors in the screen, but later on, he just placed a LED in the corner, and used a wii remote (infrared camera) to spot the corners, then calculate how the image should be projected to match the screen. Some of these techniques must be the same for getting the board correct - no matter what, his projects are really fun and inspiring to see / learn about ;-)
Well, I'm going out a line here, my point is just, that if you really wanted to do this, I'd bet that it could be done within a reasonable amount of time.
|
BGonline.org Forums is maintained by Stick with WebBBS 5.12.