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 -;