summaryrefslogtreecommitdiff
path: root/cmd/bookpipeline
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-11-10 12:28:50 +0000
committerNick White <git@njw.name>2020-11-10 12:28:50 +0000
commitad7aaf490e78e969bb5495dfda06a33d2a176aec (patch)
tree64c9a9cbc50b2e0c8f9b5bdafecac6e6220212e1 /cmd/bookpipeline
parentdac2f1ad471cd9896c16569fe02c69ff9b9855ba (diff)
[rescribe] Enable custom paths to tesseract command to be set (also improve some error output)
Diffstat (limited to 'cmd/bookpipeline')
-rw-r--r--cmd/bookpipeline/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 12d5eec..909b431 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -226,7 +226,7 @@ func main() {
checkOCRPageQueue = time.After(0)
stopTimer(stopIfQuiet)
conn.Log("Message received on OCR Page queue, processing", msg.Body)
- err = pipeline.OcrPage(msg, conn, pipeline.Ocr(*training), conn.OCRPageQueueId(), conn.AnalyseQueueId())
+ err = pipeline.OcrPage(msg, conn, pipeline.Ocr(*training, ""), conn.OCRPageQueueId(), conn.AnalyseQueueId())
resetTimer(stopIfQuiet, quietTime)
if err != nil {
conn.Log("Error during OCR Page process", err)