OCR-OcrSpace
view release on metacpan or search on metacpan
lib/OCR/OcrSpace.pm view on Meta::CPAN
return $result // undef;
}
=head2 Sample Ouput success
{"ParsedResults":[{"TextOverlay":{"Lines":[{"LineText":"Current","Words":[{"WordText":"Current","Left":11.666666030883789,"Top":59.166664123535156,"Height":14.999999046325684,"Width":54.999996185302734}],"MaxHeight":14.999999046325684,"MinTop":59...
=head2 Sample Ouput error
{"OCRExitCode":99,"IsErroredOnProcessing":true,"ErrorMessage":["Parameter name 'attributes' is invalid. Valid parameters: apikey,url,language,isoverlayrequired,base64image,iscreatesearchablepdf,issearchablepdfhidetextlayer,filetype,addressparsing...
=cut
####################
# internal function
###################
sub _generate_request {
my $params = ( scalar( @_ ) > 1 ) ? $_[1] : shift;
my $request_hash = {
( run in 0.298 second using v1.01-cache-2.11-cpan-26ccb49234f )