Last change
on this file since 35733 was 35733, checked in by cstephen, 2 years ago |
Add OCR servlet
|
-
Property svn:executable
set to
*
|
File size:
422 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ ! -f config.properties ] ; then
|
---|
4 | echo "Generating config.properties from config.properties.in."
|
---|
5 | cp config.properties.in config.properties
|
---|
6 |
|
---|
7 | read -p "Enter the path to your Tesseract data directory: " tessdata
|
---|
8 | awk '{sub("@tess.data@","'${tessdata}'")}1' config.properties > config.temp && mv config.temp config.properties
|
---|
9 | else
|
---|
10 | echo "config.properties already exists; no changes made."
|
---|
11 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.