This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, August 30, 2010 4:41:53 PM(UTC)
Groups: Registered
Posts: 21
I try to recognize a image from master forms(LEADTOOLS 17).It dosn't work even the image is a copy of page in master forms.Show me what's wrong please.
Support.Unlock(False)
RasterCodecs.Startup()
formsCodec = New RasterCodecs()
formsRepository = New DiskMasterFormsRepository(formsCodec, "C:\ABC")
EngineType = OcrEngineType.Professional
ocrEngine = OcrEngineManager.CreateEngine(EngineType, True)
ocrEngine.Startup(Nothing, Nothing, Nothing, Nothing)
autoEngine = New AutoFormsEngine(formsRepository, ocrEngine, Nothing, AutoFormsRecognitionManager.Default Or AutoFormsRecognitionManager.Ocr, 30, 80, True)
Dim result As AutoFormsRecognizeFormResult = autoEngine.RecognizeForm("c:\222.tif", Nothing)
If result Is Nothing Then
MsgBox("Nothing")
End If
File Attachment(s):
ABC.rar (13kb) downloaded 27 time(s).
#2
Posted
:
Tuesday, August 31, 2010 2:46:37 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
How does it not work exactly? Do you get any error message? If yes, what is the error message?
If you mean that you do not get correct recognition, you might need to increase the dots per inches of the image because it's 96 DPI only, which is low for OCR recognition.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.