FloatImg4PythonBinding/experiment/tripla.sh
2021-05-26 11:31:52 +02:00

23 lines
340 B
Bash
Executable File

#!/bin/bash
GRABOPT=" -v -d /dev/video0 -n 1 -u "
SPOOL=${HOME}/TMP
for capture in red green blue
do
grabvidseq "${GRABOPT}" -o "${SPOOL}/${capture}.fimg"
# sleep 1
done
ls -rtl "${SPOOL}"
./muxplanes "${SPOOL}/red.fimg" \
"${SPOOL}/green.fimg" \
"${SPOOL}/blue.fimg" \
yo.fimg
echo $0 "got a" $?
fimgstats -v yo.fimg