Jump to content

Recommended Posts

Posted

What is the absolute fastest way to OCR with autoit?

Do someone have a coded solution for this.  I tried the Tesseract UDF, but it was entirely too slow using screen captures and grabbing values.  Also highly inaccurate as well.

Posted

jdelaney I am just trying to read text on the screen learning in general no particular project in mind I like the simplicity of autoit and have a perl python background I like how easy it is to do GUI windows automation with autoit.   The community and the very good documentation.  The help file is about the best I have seen so this is fun to learn something new.

Is there anything you can do with caching etc?

Posted
>>>> Window <<<<
Title: My Custom app
Class: WindowsForms10.Window.8.app.0.141b42a_r15_ad1
Position: 0, 0
Size: 1440, 860
Style: 0x170B0000
ExStyle: 0x00050000
Handle: 0x00A101B0
 
>>>> Control <<<<
Class:
Instance:
ClassnameNN:
Name:
Advanced (Class):
ID:
Text:
Position:
Size:
ControlClick Coords:
Style:
ExStyle:
Handle:
 
>>>> Mouse <<<<
Position: 287, 717
Cursor ID: 0
Color: 0x000000
 
>>>> StatusBar <<<<
 
>>>> ToolsBar <<<<
 
>>>> Visible Text <<<<
 
 
>>>> Hidden Text <<<<
  • Moderators
Posted

awayne,

You have been asked several times now for a screenshot of this "My Custom app" on which you wish to use OCR - you have steadfastly failed to provide one. Please do so now or I will be forced to assume that there is a good reason why you are refusing to do so.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

Yea, kinda suspicious.

If it's a secret you can just PM Melba the screenshot, He'll keep quiet, He's an old military guy, so know the punishment for treason. :)

Some guy's script + some other guy's script = my script!

Posted

I don't actually know if you are trying to cheat something or...

My personal experience with tesseract was what I expected.
Don't expect more than tesseract can do with a free OCR. It is 80% accurated but it has it's limits.
One of them is the size of the image you want to check. So you may think again about using a free OCR.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...