commit bdb3c97e5147258bb6e37081b10e9a6bbcf45c3f
parent 6f329193db26e258447cf4cc64a36c5082b5d4cf
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 6 Sep 2019 00:50:28 +0200
no problems with missing files
Diffstat:
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/fix_melodia.sh b/fix_melodia.sh
@@ -35,13 +35,13 @@ rm -f chunks/page_0215_*.png
convert -density 1200 -resize ${WIDTH}x melodia_title_page.svg chunks/page_0000_0000.png
-rm chunks/page_0012_0003*
+rm -f chunks/page_0012_0003*
./splitw.py --weightthreshold=6 lines/page_0012_0003.png chunks "$WIDTH"
-rm chunks/page_0013_0000*
+rm -f chunks/page_0013_0000*
./splitw.py --weightthreshold=20 --weightwindow=3 lines/page_0013_0000.png chunks "$WIDTH"
-rm chunks/page_0019_0001*
+rm -f chunks/page_0019_0001*
./splitw.py --weightthreshold=10 --weightwindow=3 lines/page_0019_0001.png chunks "$WIDTH"
rm -f lines/page_0058*.png; rm -f chunks/page_0058*.png;
@@ -50,20 +50,20 @@ for a in lines/page_0058*.png; do
./splitw.py --weightthreshold=10 --weightwindow=3 $a chunks "$WIDTH";
done
-rm chunks/page_0153_0009*
+rm -f chunks/page_0153_0009*
./splitw.py --heightthreshold=8 lines/page_0153_0009.png chunks "$WIDTH"
-rm chunks/page_0159_0005*
+rm -f chunks/page_0159_0005*
./splitw.py --weightthreshold=12 lines/page_0159_0005.png chunks "$WIDTH"
-rm chunks/page_0159_0009*
+rm -f chunks/page_0159_0009*
./splitw.py --maxbardistance=20 lines/page_0159_0009.png chunks "$WIDTH"
-rm chunks/page_0167_0003*
+rm -f chunks/page_0167_0003*
./splitw.py --weightthreshold=20 lines/page_0167_0003.png chunks "$WIDTH"
-rm chunks/page_0169_0004*
+rm -f chunks/page_0169_0004*
./splitw.py --weightthreshold=20 --heightthreshold=20 lines/page_0169_0004.png chunks "$WIDTH"
-rm chunks/page_0171_0008*
+rm -f chunks/page_0171_0008*
./splitw.py --maxbardistance=20 lines/page_0171_0008.png chunks "$WIDTH"