converting OCRed tif image into word document

shaheed

Member
Joined
Jun 3, 2004
Messages
20
Programming Experience
1-3
hi...can someone tell me the way of coverting OCRed tif image into word document through vb.net code???
 

Deemoore

Member
Joined
Aug 8, 2004
Messages
6
Programming Experience
3-5
is there a step missing?

I assume an OCRed file would be text gotten from a picture.
So you need something to read the tiff file into text like an OCR (optical character recognition) control unless you have lots of time to write one.

Look then to be well edified when the fool delivers the madman - Shakespeare
 

Deemoore

Member
Joined
Aug 8, 2004
Messages
6
Programming Experience
3-5
Great tool!

Nice. But now this means I cannot hide my email address in pictures anymore :mad:
 

goodarowana

New member
Joined
Aug 16, 2004
Messages
4
Programming Experience
10+
MODI + MS Office Automation

Hi,

This can be done in 2 steps:

1. Use the programmable Microsoft Office Document Imaging (2003 only) object model and viewer control to zone the image and perform OCR. The OCRed data can be accessed through the Layout object. See http://www.ilixis.com/developer/modi2.html

2. Once the OCRed data has been retrieved, use the Microsoft Office (all versions - I think) to create a new Word Document. Make sure that the Microsoft Word 11.0 Object Library (MSWORD.OLD) is included into your project. The code below can be used as a simple guide:

Dim objWord As Application
objword.Documents.Add (this should create a new document)
objWord........ (add content, etc.)

Regards.
 
Top Bottom