utils: rkisp1: Remove frames before starting capture
Delete frames previously captured before starting a new capture, to avoid mixing old and new frames. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
090ac69416
commit
695304c43f
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ capture_frames() {
|
|||
|
||||
if [[ $save_file -eq 1 ]]; then
|
||||
file_op="--file=/tmp/frame-#.bin"
|
||||
rm -f /tmp/frame-*.bin
|
||||
fi
|
||||
|
||||
yavta -c$frame_count -n5 -I -f $capture_format -s $capture_size \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue