[libcamera-devel] [PATCH 1/4] utils: rkisp1: Remove frames before starting capture
paul.elder at ideasonboard.com
paul.elder at ideasonboard.com
Fri Jul 15 09:19:29 CEST 2022
Hi Laurent,
On Tue, Jun 21, 2022 at 12:06:55AM +0300, Laurent Pinchart via libcamera-devel wrote:
> Delete frames previously captured before starting a new capture, to
> avoid mixing old and new frames.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> utils/rkisp1/rkisp1-capture.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/utils/rkisp1/rkisp1-capture.sh b/utils/rkisp1/rkisp1-capture.sh
> index 4d09f5d5f01b..d5ebe5b1d1ba 100755
> --- a/utils/rkisp1/rkisp1-capture.sh
> +++ b/utils/rkisp1/rkisp1-capture.sh
> @@ -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 \
More information about the libcamera-devel
mailing list