tth 1 year ago
parent
commit
f77a63b08c
  1. 12
      experiment/tripla.sh

12
experiment/tripla.sh

@ -1,16 +1,18 @@ @@ -1,16 +1,18 @@
#!/bin/bash
GRABOPT=" -v -d /dev/video0 -n 1 -u "
GRABOPT=" -vv -d /dev/video0 -n 400 -p 0.5 -u "
SPOOL=${HOME}/TMP
echo ; echo ; echo
for capture in red green blue
do
grabvidseq "${GRABOPT}" -o "${SPOOL}/${capture}.fimg"
# sleep 1
image=${SPOOL}/${capture}.fimg
echo grabbing $image
grabvidseq ${GRABOPT} -o $image
echo
done
ls -rtl "${SPOOL}"
./muxplanes "${SPOOL}/red.fimg" \
"${SPOOL}/green.fimg" \
"${SPOOL}/blue.fimg" \

Loading…
Cancel
Save