Browse Source

vroum testing in progress

master
tth 2 years ago
parent
commit
f034c77401
  1. 24
      funcs/vroum.sh
  2. 2
      tools/fimgfx.c

24
funcs/vroum.sh

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

2
tools/fimgfx.c

@ -77,7 +77,7 @@ if (foo) { @@ -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);

Loading…
Cancel
Save