Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[Corion]: Ouch. I just learned something about Chrome - the "version numbers" are not really feature numbers... Chrome 62 still gets new features even though Chrome 64 is out and Chrome 65 is the dev version
[erix]: why ouch? Something to be said for that ,surely?
LanX is a dev version
[marto]: That reminds me, I made some notes somewhere with regard W::M::C, I'll get round to a PR when I've time to flesh it out
[Corion]: erix: But that makes for fun bug hunting. "What version of Chrome are you running?" "v62". "I also run v62 and it works on my machine". :-(
[Corion]: marto: Great, looking forward to the PR!

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-12-12 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?