From fc5900d312f1cc566e1a3e88b7a26e07eea367a4 Mon Sep 17 00:00:00 2001 From: jvdhorst Date: Fri, 23 Feb 2018 15:17:54 +0100 Subject: [PATCH] Added my wordtagger script. Use make wordtagger to execute it --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6b26087..76d79d2 100644 --- a/Makefile +++ b/Makefile @@ -33,13 +33,16 @@ tesseract: myscript: tesseract cat output/plain.txt | python3 src/myscript.py > output/a-new-file.txt +wordtagger: tesseract + cat output/plain.txt | python3 src/wordtagger.py > output/tagged-words.txt + visualization: $(images) $(tmpfile) #requires mplayer @echo $(tmpfile) for i in $(images); do \ cat $$i >> $(tmpfile); \ done; - -ifeq ($(OS),Darwin) + +ifeq ($(OS),Darwin) cat $(tmpfile) | mplayer -sws 4 -zoom -vf dsize=720:720 -demuxer rawvideo -rawvideo w=56:h=64:i420:fps=25 -; else cat $(tmpfile) | mplayer -vo x11 -sws 4 -zoom -vf dsize=720:720 -demuxer rawvideo -rawvideo w=50:h=50:i420:fps=25 -;