FloatImg4PythonBinding/lib/runme.sh

29 lines
500 B
Bash
Executable File

#!/bin/bash
../v4l2/grabvidseq -s 960x720 -n 10000 -p 0.193 \
-vv -g -c none \
-o original.fimg
make t && ./t
for picz in original power2 squareroot cos_01
do
echo _______________________ ${picz}
# ../tools/fimgstats -v ${picz}.fimg
../tools/fimg2pnm -v ${picz}.fimg ${picz}.pnm
convert -pointsize 48 \
-fill black -annotate +14+40 "${picz}" \
-fill white -annotate +16+42 "${picz}" \
${picz}.pnm ${picz}.png
rm ${picz}.pnm
done
convert -delay 150 *.png foo.gif