vroum testing in progress

This commit is contained in:
tth 2020-10-06 13:01:48 +02:00
parent 91b5fe08a6
commit f034c77401
2 changed files with 25 additions and 1 deletions

24
funcs/vroum.sh Executable file
View File

@ -0,0 +1,24 @@
#!/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

View File

@ -77,7 +77,7 @@ if (foo) {
return -98;
}
foo = fimg_classif_trial(S, D, 0);
foo = fimg_classif_trial(S, D, kf, 0);
if (foo) {
fprintf(stderr, "%s err %d classif_trial %p\n", __func__,
foo, S);