a few oops...

This commit is contained in:
tTh
2023-07-08 12:43:00 +02:00
parent 0f245582d5
commit 2c1687f82b
4 changed files with 21 additions and 12 deletions

View File

@@ -1,11 +1,11 @@
#!/bin/bash
#
# CAPTURE
source ./conf.sh
DEVICE="/dev/video0"
GOPT=" -v -s 1920x1080 -p 0 -n 30"
GOPT=" -v -s 1920x1080 -p 0 -n 10"
OUTD=$GRABDIR
TMPG="/dev/shm/tmpgrab.fimg"
@@ -15,9 +15,13 @@ do
# take the picz
${GRAB} -d ${DEVICE} ${GOPT} -o ${TMPG}
# display $TMPG
# only take the good spot
fimg=$(printf "%s/%05d.fimg" ${OUTD} ${idx})
${EXTR} ${TMPG} 800,600,560,240 ${fimg}
${EXTR} -o ${fimg} ${TMPG} 800,600,560,240 ${fimg}
# display ${fimg} ; exit
echo
sleep $DELAY_GRAB

View File

@@ -1,4 +1,6 @@
# Sat Jul 8 10:41:58 UTC 2023
#
# location of some tools
#
@@ -6,14 +8,15 @@
GRAB="$HOME/Devel/FloatImg/v4l2/grabvidseq"
MKFX="$HOME/Devel/FloatImg/tools/fimgfx"
MDAT="$HOME/Devel/FloatImg/tools/fimgmetadata"
EXTR="fimgextract"
EXTR="$HOME/Devel/FloatImg/tools/fimgextract"
INTERPOLATOR="$HOME/Devel/FloatImg/Fonderie/interpolator"
FONDERIE="$HOME/Devel/FloatImg/Fonderie/fonderie"
SINGLEPASS="$HOME/Devel/FloatImg/Fonderie/singlepass"
NBPASS=2400
DELAY_GRAB=3
DELAY_GRAB=1
IDXLINKFARM=0
#