Is it possible to save images on or off using the 09_camera_jpeg_capture example?

camera : imx390
board : xavier agx dev kit
I am using it like this. Using the example, I have even completed saving the jpeg file. I want to implement a button like this by connecting the button to the jetson gpio pin to continuously save images when it is on, and stop image saving when it is off. Is there any way?

Hi,
There is code of reading button events in deepstream-app. Please check nvds_x_event_thread() in

/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-app/deepstream_app_main.c

You can refer to it and apply to 09_camera_jpeg_capture.

thank you, i will try

2021년 7월 8일 (목) 오전 10:51, DaneLLL via NVIDIA Developer Forums <nvidia@discoursemail.com>님이 작성:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.