Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
gamesover
Novice


Joined: 06 Jun 2007
Posts: 30

PostPosted: Fri May 02, 2008 3:24 pm   

how to use OCR to recognize dots?
 
In our mud, the wiz design a dot to against too much robots:)

For example, it wil display the word "D" by the following dots

Code:
A
A     A
A        A
A        A
A      A
A


I believe it needs to use some external OCR program to recognize the word "D". Could someone share me an idea to work out a method to auto-recognize it?

Edit by Fang: added code tags. Makes a bit more sense with them, huh?
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri May 02, 2008 4:38 pm   Re: how to use OCR to recognize dots?
 
You could try store a list of the characters. If the characters can vary slightly you want to store many examples. Then use e.g hamming distance to retrieve the closest match.

Other methods to try are neural networks, or perhaps decision trees. However best is to try the easier methods first.
Reply with quote
gamesover
Novice


Joined: 06 Jun 2007
Posts: 30

PostPosted: Fri May 02, 2008 4:50 pm   
 
the wiz uses many types of different fonts. Examples cannot solve the prolbems. What's more, the extreme case is the following

ABCDDAAATWAAAAWAA
EFGHAADAAAAAFAAEA
OPQTCAESAAFAAFAAA
WWWQWASAFAAAAAWA
TTTTTWEAAAFAAAAAWA
UVWWERRRAAAAAAAAA

How to deal with it? You can only sort them out by color, no way else
And I want to emphasize again, there are no regular rules for those dots. Wize uses many types of art fonts, which cannot be easily displayed in this forum. Someone works them out by OCR, Microsoft Office Document Imaging program. But I don't know how to do.

Thanks a lot
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri May 02, 2008 5:13 pm   
 
gamesover wrote:
Examples cannot solve the prolbems.

So there you have it Shocked. As the problem can not be solved by looking at examples, it won't be solved.

Even commercial OCR applications fail to properly read characters now and then. So there is no good method to guarantee success.

You do realize you are about to cheat the game? Taking possibly the first step for others to follow and possibly ruin the MUD in the process. You have to consider this carefully.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri May 02, 2008 6:14 pm   
 
Mmm, the simple answer is "don't play this MUD" - there are plenty of others out there that aren't so secret-police-ish about it.

Depending on frequency, you could always just only run the bot when you're in the house and have it play a really loud sound when you get one so you can answer it.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net