Compare commits
No commits in common. "c84a893380c0bfb13d5406aa1e2b2f5345d6e0a4" and "bf40df4d1ace92c8fc7ea4e678de128148e60650" have entirely different histories.
c84a893380
...
bf40df4d1a
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
CMDPATH="/usr/local/bin"
|
||||
|
||||
GRAB="quux.fimg"
|
||||
COS01="cos01.fimg"
|
||||
COS010="cos010.fimg"
|
||||
@ -13,26 +11,29 @@ f2p ()
|
||||
{
|
||||
dst=$(basename $1 .fimg).pnm
|
||||
echo == converting $1 to $dst
|
||||
${CMDPATH}/fimg2pnm $1 $dst
|
||||
fimg2pnm $1 $dst
|
||||
}
|
||||
|
||||
# --------- capturer une image
|
||||
${CMDPATH}/grabvidseq -v -u -n 2400 -p 0.04 -o ${GRAB}
|
||||
grabvidseq -v -n 77 -p 0.07 -o ${GRAB}
|
||||
echo ERRCODE $?
|
||||
f2p ${GRAB}
|
||||
|
||||
# ----------- traitements
|
||||
${CMDPATH}/fimgfx pow2 $GRAB $POW2
|
||||
ls -rtl
|
||||
exit
|
||||
|
||||
# XXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
fimgfx -v pow2 $GRAB $POW2
|
||||
f2p $POW2
|
||||
|
||||
${CMDPATH}/fimgfx sqrt $GRAB $SQRT
|
||||
fimgfx -v sqrt $GRAB $SQRT
|
||||
f2p $SQRT
|
||||
|
||||
${CMDPATH}/fimgfx cos01 $GRAB $COS01
|
||||
fimgfx -v cos01 $GRAB $COS01
|
||||
f2p $COS01
|
||||
|
||||
${CMDPATH}/fimgfx cos010 $GRAB $COS010
|
||||
fimgfx -v cos010 $GRAB $COS010
|
||||
f2p $COS010
|
||||
|
||||
echo == Making gif89a
|
||||
convert -delay 40 *.pnm foo.gif
|
||||
convert -delay 10 *.pnm foo.gif
|
||||
|
@ -313,11 +313,11 @@ for (i = 0; i < nbre_capt; i++) {
|
||||
xioctl(fd, VIDIOC_QBUF, &buf);
|
||||
}
|
||||
|
||||
fflush(stdout);
|
||||
puts(""); fflush(stdout);
|
||||
|
||||
if (verbosity) {
|
||||
t_final = fimg_timer_get(0);
|
||||
fprintf(stderr, "pid %d : elapsed %.3g s -> %.2f fps\n", getpid(),
|
||||
fprintf(stderr, "pid %d : elapsed %g s -> %.2f fps\n", getpid(),
|
||||
t_final, (double)nbre_capt / t_final);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user