Hou to make camera AF(auto-focus) in Jetson Nx platform?

I want to make my camera AF in Jetson NX,Is there a way to determine video sharpness with gstreamer? Or it‘s suppored in Nvidia Jetson ISP model?

Sorry, current not support AF.

Hello, I can get frame‘s definition now. Do you have an algorithm to control the motor by definition change.

Try the Get/SetFocusPositon() for manually control the focus.

https://docs.nvidia.com/jetson/l4t-multimedia/classArgus_1_1ISourceSettings.html#acb57376b76666a116ba68c14b3856c3e

Can it be set in the GStreamer program?

Sorry, didn’t implement on GStreamer program. However you can build the download the source to implement and build the /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so(nvarguscamerasrc) for it.