Hi, I tried running the command python basic_pipelines/detection.py -f -i rpi, but it ended with an error:
Error: gst-resource-error-quark: Failed to enable auto focus (13), ../src/gstreamer/gstlibcamerasrc.cpp(666): gst_libcamera_src_task_enter (): /GstPipeline:pipeline0/GstLibcameraSrc:src_0:
AfMode not supported by this camera, please retry with 'auto-focus-mode=AfModeManual'
Can someone guide me how I can edit my gst pipeline to accept input with manual auto focus?
Hey, I figured it out, I edited line 150 in detection.py: "libcamerasrc name=src_0 auto-focus-mode=2 ! " and changed the value to AfModeManual and it worked out!
Hi, I tried running the command
python basic_pipelines/detection.py -f -i rpi
, but it ended with an error:Can someone guide me how I can edit my gst pipeline to accept input with manual auto focus?