Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
    $miDoc->Create('OCR-test-result.mdi');
    my $OCRresult = $miDoc->{Images}->Item(0)->{Layout}{Text};
    print $OCRresult;
    
  2. or download this
    $miDoc->Create('OCR-test.tif');
    $miDoc->OCR(LangId =>'miLANG_ENGLISH');
    my $OCRresult = $miDoc->{Images}->Item(0)->{Layout}{Text};
    print $OCRresult;
    
  3. or download this
     
    $miDoc->OCR(LangId =>'miLANG_ENGLISH');
    
  4. or download this
    eval {$miDoc->OCR(LangId =>'miLANG_ENGLISH')}; 
    warn $@ if $@;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://826067]
help
Chatterbox?
[Lotus1]: damn, I just opened the attacment on a phishing simulation email in the $work email
[Lotus1]: now I'll be sent to re-education camp or something

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2017-05-24 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?