Avatar of tom1234
tom1234
Flag for Korea, Republic of asked on

How can I read the character which is even in the Image , like jpg ,bmp

Is there the way I can read the character in the image file..

for instance, If I click button , the text in the image is popped out of.

please give me advice.
Delphi

Avatar of undefined
Last Comment
FactorB

8/22/2022 - Mon
FactorB

To achieve this you need optical character recognition (OCR) capabilities in your application. Since Delphi does not provide this with the standard set of components you need to install third party component.
You can check http://www.simpleocr.com/Download.asp and see if it will work for you.
Anyway it is not a simple task, it depends from the font in image, how sharp the image is, resolution and if you want to use it for captcha, then you are spending precious time. Hope it helps.

Regards,
B.
tom1234

ASKER
Is there a componet ? I need this one for making a program.
FactorB

Yes there are, but as I know non of them are free ($80 - $100)

http://www.mcm-design.com/index.php?section=download&product=OCRDelphi

http://xpidea.com/Products/tabid/53/ProductID/10/Default.aspx

http://www.transym.com/download

and if you are searching for a free OCR (not a component) you can try to use the Active X given with Microsoft Office named Microsoft Office Document Imaging as stated here, along with an example

http://www.programmersheaven.com/mb/AdvancedDelphi/302752/302752/an-ocr-component/
Your help has saved me hundreds of hours of internet surfing.
fblack61
tom1234

ASKER
I can not find this library >>"Microsoft Office Document Imaging 11.0 Type Library"

I'm using Delphi 2010 .
FactorB

You should have Office 2003 installed for Microsoft Office Document Imaging 11.0 Type Library,
if you have Office 2007 than you have Microsoft Office Document Imaging 12.0 Type Library

Regards,
B.
FactorB

Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
tom1234

ASKER
I've put the 'Microsoft Office Document Imaging 12.0 Type Library'. But the problem is the TMiDocView which I can not find.

I have to put TMiDocView in my form, but I can not find it .. Where Can I Find it?
FactorB

have you added

uses
MODI_TLB, comobj;

to the uses clauses?
FactorB

Also copy the code below and try to paste it on the form:

  object MiDocView1: TMiDocView
    Left = 404
    Top = 116
    Width = 192
    Height = 192
    TabOrder = 0
    ControlData = {
      00080000D8130000D81300000300000000000300000000000300000000000800
      00000000}
  end
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
FactorB

Here is MODI_TLB.pas that you can use in your project, I generate it with BDS 2006.
MODI-TLB.pas
ASKER CERTIFIED SOLUTION
FactorB

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question