Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Why the Create method keep failing using Office 2007 OCR API?

by ZJ.Mike.2009 (Scribe)
on Mar 02, 2010 at 12:06 UTC ( #826135=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Why the Create method keep failing using Office 2007 OCR API?
in thread Why the Create method keep failing using Office 2007 OCR API?

Problem solved. Something is wrong with my MODI 12.0 and I also messed with the OCR method parameters. Changing the line:

$miDoc->OCR();
to
$miDoc->OCR(2052,1,1); #2052 is the LangId for Chinese
can solve the problem but somehow if I use
$miDoc->OCR(9,1,1); #9 is the LangId for English
Windows XP would throw me an error saying:
unknown software exception
Anyway, thank you guys! I'm really happy that the problem is gone :D


Comment on Re^3: Why the Create method keep failing using Office 2007 OCR API?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://826135]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-09-02 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (22 votes), past polls