YOUF Posted June 7, 2008 Share Posted June 7, 2008 the picture of the number OCR to txt Not found to achieve example. Help me ~22.bmp33.bmp44.bmp55.bmp Link to comment Share on other sites More sharing options...
junkew Posted June 7, 2008 Share Posted June 7, 2008 see thread http://www.autoitscript.com/forum/index.php?showtopic=66545Also search for pixelsearch within forum FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
ProgAndy Posted June 7, 2008 Share Posted June 7, 2008 Looks like captcha...But look at this: http://www.autoit.de/index.php?page=Thread...26521#post26521convert is one of the ImageMagick applicationsgocr is available here: http://jocr.sourceforge.net/download.html Direct Link *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
YOUF Posted June 8, 2008 Author Share Posted June 8, 2008 Can not be successful because>>Desktop Theme ???? Link to comment Share on other sites More sharing options...
YOUF Posted June 9, 2008 Author Share Posted June 9, 2008 see thread http://www.autoitscript.com/forum/index.php?showtopic=66545Also search for pixelsearch within forumgocr045.exe -C 0-9. -i 33.png -o test.txtThen is test.txt an empty document~!why Link to comment Share on other sites More sharing options...
ProgAndy Posted June 9, 2008 Share Posted June 9, 2008 (edited) GOCR can't use PNG, you first have to convert the image:with Convert from ImageMagickconvert image.png -threshold 8,90,180 -monochrome img.pnmPossibly, you have to remove the threshold or change it, so that you get best results.Then you can use gocr:gocr045.exe -C 0-9. -i img.pnm -o test.txt Edited June 9, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now