forked from tTh/FloatImg
vroum testing in progress
This commit is contained in:
parent
91b5fe08a6
commit
f034c77401
|
@ -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
|
|
@ -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…
Reference in New Issue