forked from tTh/FloatImg
25 lines
312 B
Bash
Executable File
25 lines
312 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
src=foo.fimg
|
|
maxi=90
|
|
|
|
grabvidseq -s 640x480 -vv -p 0 -n 2000 -c cos01 -o $src
|
|
|
|
for foo in $(seq 0 $maxi)
|
|
do
|
|
|
|
fval=$(echo "$foo / $maxi" | bc -l)
|
|
./t -k $fval -v classif $src
|
|
|
|
echo $foo $fval
|
|
|
|
nom=$(printf "v_%03d.pnm" $foo)
|
|
cp out.pnm $nom
|
|
|
|
echo $nom
|
|
|
|
done
|
|
|
|
convert -delay 10 v_*.pnm foo.gif
|