Community

Executing curl demo script

Hi

I can't execute the curl demo script in windows command with cygwin. It comes with the same error.I call in command line: C:\cygwin64\bin>bash cloud_recognize.sh c:\bilagsscan\150.pdf c:\bilagsscan\result.xml -f xml -l English

cloud_recognize.sh line 44: getopt: command not found

Invalid arguments.

Usage:

scan.sh <input> <output> [-f output_format] [-l language]

output_format: txt|rtf|docx|xlsx|pptx|pdfSearchable|pdfTextAndImages|xml

Some language examples: Russian Russian,English English,ChinesePRC etc. For full list see ocrsdk documentation

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Hi,

    Please sorry for the delay. I am not familiar with Cygwin, but it seems that this issue is quite popular among the Cygwin's users. You need just to install getopt additionally.

    0

Please sign in to leave a comment.