Screen Scraping Question

Dan Stromberg - Datallegro dstromberg at datallegro.com
Thu Jul 12 04:31:41 CEST 2007


On Wed, 11 Jul 2007 12:45:21 +0000, jeffbg123 wrote:

> Hey,
> 
> I am trying to make a bot for a flash game using python. However I am
> having some trouble with a screen scraping strategy. Is there an
> accepted way to compare a full screenshot with the image that I want
> to locate? It is a math based game, so I just have to check what
> number, 1-9, appears in the center of the flash game. Is there an
> easier method to do this?
> 
> Thanks
> 
> -Jeff

That sounds like an OCR problem, unless the numbers are so consistently
rendered that you can just store copies of all 9 (I'd pick a non-lossy
format) and compare.




More information about the Python-list mailing list