use all png files
This commit is contained in:
parent
c3564ef7d2
commit
6576356cb3
|
@ -1,10 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#put this file in folder with number png files and run
|
||||||
|
|
||||||
i=0
|
for i in elevatorInd_5x8/*.png
|
||||||
while [ $i -ne 10 ]
|
|
||||||
do
|
do
|
||||||
|
|
||||||
echo "$i"
|
echo "$i"
|
||||||
python ../generate.py pzim3x5/$i.png -f nodered -o $i.txt
|
filenamewopath=$(basename -- "$i")
|
||||||
i=$(($i+1))
|
filename="${filenamewopath%.*}"
|
||||||
done
|
echo "$filename"
|
||||||
|
python ../generate.py $i -f nodered -o $filename.txt
|
||||||
|
done
|
Loading…
Reference in New Issue