Sign in to follow this  
Followers 0
Memoras

Ocr Sollution

4 posts in this topic

heyho :D

ive been writing on a bot for a flash based browser game for some time now.

My problem is that i dont got a really good sollution to read out the text displayed.

I tried jocr/gocr but without satisfying results :)

I got the most accurate resulst with ABBYY Fine Reader Screenshot reader (id say 99% correct results) but id really prefer to have a freeware/open source sollution for this

You got an advice for me how to improve the results of gocr oder any other program?

Sorry if this has already been asked but i didnt found an answer :D

cheers Memo

Share this post


Link to post
Share on other sites



Is it a static text(ie. it doesn't change)? If so you could perhaps use PixelChecksum to conclude if the text you're looking for is there. But if it's something such as a score(or if the background changes, for example), you can't use PixelChecksum.

Share this post


Link to post
Share on other sites

I dont think thats possible :D

The main goal of it is to identify an item by its name, which consists of basic items name + prefix for the stats

If i see this right i would have to get the pixelchecksum for every item there is, which would be way too much.

But thanks for this idea i think it helps me on another point of the bot :D

Share this post


Link to post
Share on other sites

If you're just after the item name, you could just do a pixel checksum for the item name(not the following prefix, etc.), and then compare (with another PixelChecksum) the area where the item name is being display. Hopefully you can use it that to identify the item you're after. :D As long as the background around the text, and the location doesn't change(colorwise that is), it should work fine. :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0