Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagebash
#!/bin/bash
NOT YET DONE

$1 is the path and filename of the output file, $2 is the path and filename of the input file that are handed over when the DMS calls the piocr scriptthe tesseract script. The command in piocr script tesseract script must be such that the OCR engine reads the input file (pointed to by $2) and writes to the output file (pointed to by $2).

 

  • Make sure in "commands.conf" file of auto-deploy client specific repository, the following commands are added to the nuxeo container definition (under section "elif [ ${1} = "NUXEO" ] then") so as to be added the container run command.:

 

Code Block
  add_volume "/<storage_path>/nuxeo/ssh" "/home/nuxeo/.ssh"
  add_volume "/<storage_path>/nuxeo/scripts/tesseract" "/usr/bin/tesseract"