Jump to content

Text recognition


stas

Recommended Posts

Text recognition by tesseract-ocr

http://code.google.com/p/tesseract-ocr/

jpeg only

You can view demo by http://db.kontora.ua/recognize.dll

You can download source and addinitional libraries from http://db.kontora.ua/recognize.zip

You can download additional dictionaries from http://code.google.com/p/tesseract-ocr/downloads/list

Regards

post-19-0-87968900-1350445170.jpg

  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Hello Stas,

 

I added dictionaries in Spanish, but still works only in English.

Should I set on something else?

 

Adan

Hello

1.Download

http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.spa.tar.gz

and Extract in [Program]\tessdata\

 

2.Add IOUtils,TYpes to uses list

3. Clear UniComboBox1.Items

4. Add to FormCreate this text

var Dir:TDirectory;

Files:TStringDynArray;

i:integer;

begin

Files:=Dir.GetFiles(UniServerModule.StartPath+'\tessdata','*.traineddata');

for i := Low(Files) to High(Files) do

UniComboBox1.Items.add(ChangeFileExt(ExtractFileName(Files),''));

UniComboBox1.ItemIndex:=UniComboBox1.Items.Count-1;

end;

You can check result in

http://db.kontora.ua/recognize.dll

Link to comment
Share on other sites

Why?

 

This is 32 && 64 version

 

I can't run ... on local server build with

Apache Friends XAMPP Lite (Basis Package) version 1.7.3

Compiled OK on Delphi 2010 and lastes UniGui.

When I try to run get error

 

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

500

 

How to run dll?

Link to comment
Share on other sites

I can't run ... on local server build with

Apache Friends XAMPP Lite (Basis Package) version 1.7.3

Compiled OK on Delphi 2010 and lastes UniGui.

When I try to run get error

 

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

500

 

How to run dll?

Do you try build and run stand-alone Application ?

Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...