Questions tagged [modi]

Microsoft Office Document Imaging, an OCR library from Microsoft that comes with Office until version 2007.

64 questions
0
votes
1 answer

can't transfer tiff or modi file with PHP

this snippet should transfer file tiff or modi from web server to user by web header('Content-Description: File Transfer'); header('Content-Type: ' . $file_mime_type); header('Content-Disposition: attachment; filename="' . $file_name .…
otctynhuk
  • 1
  • 1
0
votes
4 answers

Using MODI to OCR in C#. Need to read images from memory, not disk

I'm trying to use MODI to perfom OCR on bitmaps I already have in memory. I can't seem to find a solution to this as all the examples I find use the create method to grab the image from the disk and prepares it for the OCR., however, I already have…
Amit
  • 3
  • 1
  • 1
  • 3
0
votes
1 answer

Scanning in .NET using MODI (Microsoft Office Document Imaging)

I'm looking to leverage MS Office scanning functionality in my .NET application. Although I know that MODI COM objects can be accessed in .NET, I'm not sure how to make that. All I need is scanning to file and getting path of that file. I don't…
SharpAffair
  • 5,558
  • 13
  • 78
  • 158
0
votes
1 answer

MODI gives BAD LANGUAGE error for English documents

I have been using MODI component of Office 2007 for extracting text from TIFF documents. It was working fine untill today when I executed my code it gave the error of "OCR: Bad Language" I have not made any changes in code so in tif documents.I am…
Volatil3
  • 14,253
  • 38
  • 134
  • 263
0
votes
1 answer

autoit modi.document error Variable must be of type "Object"

#include #include #Include #include #include $image = @MyDocumentsDir & "\aaa_teste.jpg" ConsoleWrite(OCR($image)) Func OCR($Image) Local $miDoc, $Doc Local $str …
ZeNeto
  • 41
  • 4
0
votes
1 answer

Why is OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true) causing an OCR running error?

I am using MODI to read tiff images and do what I need to do with the text. Some images work fine and then other tiff images always cause the method, OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true) to fail. I have researched this and tried…
Ian Wells
  • 1
  • 1
  • 2
0
votes
0 answers

The type or namespace name 'Document' could not be found (are you missing a using directive or an assembly reference?)

I was created windows application in which MODI.dll & axmodi.dll were used for Image to Text (OCR processing) (Window-application- c#). It Worked fine without throwing an ERROR. Now like to implement on ASP.net (C#) as the same. But it throw error…
0
votes
0 answers

How to get each entity and store in hashmap in C#?

I am doing project on this split the data. I shown my code below, then attached output also. I am doing in Asp.net. Receipt No : VH4O-RCTN093246 Receipt Date : 01/01/2015 Fathers Name : sachin tendulkar Mother’s Name : NITHYA Name of the Student…
0
votes
1 answer

Print Save as PDF

I have the below code. As per my knowledge it is converting and saving as pdf. Can anyone explain this code? Process cnp = new Process(); cnp.StartInfo.FileName = "AcroRd64.exe"; cnp.StartInfo.Arguments = "/n /t c:/test.jpg Microsoft Office Document…
user1618825
0
votes
1 answer

MODI leaking memory

I have an app where I'm using MODI 2007 to OCR several multi-page tiff files. I have found that when I kick it off on a directory that contains several good tiffs but also some tiffs that cannot be opened in Windows Picture and Fax Viewer, then…
Khragg
  • 1
  • 2
0
votes
0 answers

MODI OCR Text reading issue

I'm using MODI to read the text in scanned images and do some further parsing based on what I find in the text. However, sometimes it doesn't read the text properly. For example: If I have just the text "GroupScan" in the image, it reads it…
Abhi
  • 141
  • 2
  • 4
  • 17
0
votes
3 answers

using MODI in C# to read image - numbers with a length of 1 is missing

I am about building an C#-application in which I am trying to read text from an gif-image (OCR) - I am using MODI and the images are a bit like a lotto coupon (random numbers in rows and columns). I now got the following code which read all numbers…
keysersoze
  • 777
  • 3
  • 12
  • 27
0
votes
1 answer

OCR using MODI Office 2007

hi i have problem to using OCR filtur from microsoft office 2007 i wanna create something like in this tutorial in my laptop i already installed office 2007 but i can't find MODI (microsoft office document imaging 12.0 type library) so far i…
Surya Matadewa
  • 1,017
  • 5
  • 19
  • 38
0
votes
2 answers

MODI OCR error When Using Microsoft Office 2013 in C#

I Planned to use OCR in my project and searched more OCR methods and i didnt find anything correctly. And at last i heard about MODI and i tried that . But It throwing Following error: Retrieving the COM class factory for component with CLSID…
yasmuru
  • 1,178
  • 2
  • 20
  • 42
0
votes
1 answer

How to reference MODI component to web hosting?

I built a web application using MODI component to do OCR. In my localhost, I installed Microsoft Office and it worked fine. But when I uploaded my project to web hosting, it showed error message: Could not load type 'MODI.IDocument' from assembly…
Gus Yan To
  • 53
  • 1
  • 6