From 48d2620a431c1c937d66c114a1f97fa7e12a9af7 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Mon, 13 Feb 2023 17:58:59 +0100 Subject: [PATCH] Save image as current.jpg --- jetson-deployment/image-capture/autofocus.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetson-deployment/image-capture/autofocus.cc b/jetson-deployment/image-capture/autofocus.cc index 81fbca7..2269b9e 100644 --- a/jetson-deployment/image-capture/autofocus.cc +++ b/jetson-deployment/image-capture/autofocus.cc @@ -48,7 +48,7 @@ int main() { cap.read(img); try { - imwrite("test.jpg", img); + imwrite("current.jpg", img); } catch (const Exception &ex) { fprintf(stderr, "Exception converting image to JPG format: %s\n", ex.what());