It is currently Thu Apr 25, 2024 9:36 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
Offline
 Post subject: Electronic go board
Post #1 Posted: Wed Dec 24, 2014 6:54 am 
Beginner

Posts: 13
Liked others: 1
Was liked: 0
Hi!

I have an idea for a reasonable cheap electronic go board. Instead of 381 sensors and 400 leds it should be enough with a camera, a small computer, image recognition software, and a motorized laser pointer. If the software if efficient enough to work on a raspberry pi it should be possible to build such a device for around $ 100. It should also be possible to make the device very portable, with a volume of maybe a few cubic decimetres.

Ideally the device should be able to communicate with a smartphone app via bluetooth, and the app should be capable of both providing an ai opponent and connect to some online server.

The image recognition software can be a challenge, especially since we have to take moving hands in account. Still, it should definitely be possible. A first step would be to develop an app that can record a game between two humans (in practice this requires a small stand / tripod for the phone).

I'm surprised that no one, to my knowledge, tried anything like this before. Am I missing some thing obvious, or does this sound like a reasonable idea?

/Magnus Jäverberg

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #2 Posted: Wed Dec 24, 2014 7:36 am 
Gosei
User avatar

Posts: 2011
Location: Groningen, NL
Liked others: 202
Was liked: 1087
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
I know several people throughout recent years have attempted to write image recognition software that would be able to extract a board position from an image, but the results, although interesting, have never been very reliable.

That problem really is the only difficult part of the total equation. The raspberry pi is not really a required part, IMO, since pretty much everyone these days is always carrying around a powerful computer with a high-res camera (aka, a smartphone), so all you need is a way to mount and stabilize it above the board. Write the image recognition into a phone app, supply some kind of tripod, and you're done.

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #3 Posted: Wed Dec 24, 2014 8:53 am 
Dies in gote
User avatar

Posts: 52
Liked others: 0
Was liked: 4
Rank: 5k
For a 100$ I buy that board that can do all that

_________________
si no puedes triunfar, muere gloriosamente

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #4 Posted: Wed Dec 24, 2014 1:17 pm 
Beginner

Posts: 13
Liked others: 1
Was liked: 0
HermanHiddema, you are most likely right. The image recognition doesn't sound like a very hard problem, but I guess I will understand it better after trying myself. So far I have just been toying with a pair of easy examples.

The question of how much benefit a raspberry pi and laser pointer would add is moot until the image recognition problem is solved.

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #5 Posted: Fri Dec 26, 2014 7:38 pm 
Beginner

Posts: 13
Liked others: 11
Was liked: 3
Rank: DGS 4 kyu
Universal go server handle: DalekSnare
I want to make a smartphone app like this as a fun side project, but I won't have time for a few months, so I don't know when/if I'll get around to it.

The computer vision problem should be getting easier now that many phones have decent cameras; modern iPhones, Androids, and especially PureView Lumias have much better imaging than phones did a few years ago, with better optics, sensors, and optical image stabilization that would minimize noise and blur. Once you have a clear image, there are lots of gridlines and big round reference points (stones) that should make mapping an image to a virtual board possible. Another important thing would be to work with the limitations of the CV and include a feedback mechanism where the app highlights on the screen any awkwardly placed or uneven stones that should be straightened for it to be confident of their intended position. If you have it record a game, you could make it make a confirmation sound when it registers a move. If you include logic based on the rules of the game (have it determine if what it though happened was legal, and have it know when to expect stones to be removed from the board) then that would augment the accuracy of game recording and let it ask for feedback if it has an error.

This does sound like a fun program to work on.

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #6 Posted: Sat Dec 27, 2014 7:19 am 
Beginner

Posts: 13
Liked others: 1
Was liked: 0
DalekSnare, this is about the same way I feel. A fun project, but it will take a more time than I'm sure I can spare. Reliable interpretation of a photo is a far from being trivial, and to interpretate a video is likely much harder.

I agree that most modern phones have good enough hardware, so an app would be a good way for distribution. I like your suggestion for feedback while recording a game. This should, as you say, increase the reliability.

The hardest problem, in my belief, is to achieve high reliability. This will take many hours of collecting test data and trimming the algorithm. Especially for video. Still, if successful this could be a rewarding project. Maybe not in money, but to make an app that a lot of people enjoy is rewarding in it self.

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #7 Posted: Sat Dec 27, 2014 2:11 pm 
Beginner

Posts: 1
Liked others: 0
Was liked: 0
Rank: 6
I've actually gotten somewhere with this.
Check out my kickstarter page which is not live yet.
How much would people be willing to contribute to see this program out?
https://www.kickstarter.com/projects/16 ... n=17c8c45f

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #8 Posted: Sun Dec 28, 2014 6:25 am 
Lives with ko

Posts: 130
Liked others: 16
Was liked: 25
Rank: KGS 5 kyu
GD Posts: 442
KGS: alejo
Javerberg wrote:
Hi!

I have an idea for a reasonable cheap electronic go board. Instead of 381 sensors and 400 leds it should be enough with a camera, a small computer, image recognition software, and a motorized laser pointer. If the software if efficient enough to work on a raspberry pi it should be possible to build such a device for around $ 100. It should also be possible to make the device very portable, with a volume of maybe a few cubic decimetres.

Ideally the device should be able to communicate with a smartphone app via bluetooth, and the app should be capable of both providing an ai opponent and connect to some online server.

The image recognition software can be a challenge, especially since we have to take moving hands in account. Still, it should definitely be possible. A first step would be to develop an app that can record a game between two humans (in practice this requires a small stand / tripod for the phone).

I'm surprised that no one, to my knowledge, tried anything like this before. Am I missing some thing obvious, or does this sound like a reasonable idea?

/Magnus Jäverberg


There have already been a few attempts to get this working on Asia. The latest, and most promising one, is this one: http://www.ruiqi-tech.com/products_deta ... D=27&id=35 (site in Chinese). If you had my blog on your feed list you'd know about just 2 days before posting ;)

gongli2000 wrote:
I've actually gotten somewhere with this.
Check out my kickstarter page which is not live yet.
How much would people be willing to contribute to see this program out?
https://www.kickstarter.com/projects/16 ... n=17c8c45f


This sounds interesting. I'm actually waiting for something like this. Recording games during tournaments is cumbersome. Ideally, I'd like it to be rather small, not as bulky as a manfrotto tripod + camera. Try board and stones recognition when the board is more "shifted". I'd go for the mobile app too.
However, I'll give you a hint if you want to get some serious support: learn to place the stones in the traditional way...

_________________
My blog about Go and Boardgames: Alejo's Tenuki


This post by alejo was liked by: oca
Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #9 Posted: Thu Jan 01, 2015 5:24 pm 
Dies with sente

Posts: 96
Location: Solna, Sweden
Liked others: 42
Was liked: 19
KGS: virre
DGS: virre
OGS: virre
alejo wrote:
However, I'll give you a hint if you want to get some serious support: learn to place the stones in the traditional way...


Yeah I reacted on that too.

Also stop-motion techonlogy based on a small camera and an Arduino might well be much more usable. (Also I still think a preasure plate based Goban, such as the one that suddenly was out (which made my plans on building one myself, becauses fun a bit less likely) will work better and be less complex in the long run)

Top
 Profile  
 
Offline
 Post subject: Re: Electronic go board
Post #10 Posted: Tue Feb 24, 2015 11:03 pm 
Beginner

Posts: 1
Liked others: 0
Was liked: 0
Rank: 6 kyu
I believe image recognition from a camera is the way to Go (rather than wiring a board) for use at tournaments.

This page hosts some apps that claims to do that:

http://remi.coulom.free.fr/kifu-snap/

But more important is the "Links" section with links on source code projects that implement this. Some of them provide:

* Board detection
* Position auto-correction
* Stones and move detection
* Generation of SGF
* Calculating score

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group