Hi,
I have captured a particular text from my application and saved as bitmap
image. This I have done in VB.NET as shown below.
Now, I need to get that text saved in the bitmap image using tesseract in
VB.NET. Could someone please help me in this... how to get that text from
bitmap image (bmp) in VB.NET using tesseract?
Imports System.Drawing.Imaging
Imports System.Diagnostics
Imports System.IO
Imports System.Collections.Specialized
Public Module Main
Dim _desktop As Desktop = Agent.Desktop
Private ProcessList As New Hashtable
Public Sub Main()
With _desktop.WPFWindow("@Text='EWER-ADM ADMAD'")
.SetActive()
.WPFUserControl("@automationId='ModuleAnnotationsContainerView'").Click(MouseButton.Left,
New Point(33, 40))
.WPFUserControl("@automationId='ModuleAnnotationsContainerView'").CaptureBitmap("C:\temp\ocr\test1.bmp",
New Rectangle(28, 32, 225, 12))
End With
End Sub
End Module
--
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
---
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.