I am trying to use the request_af_trigger method to focus the oak-1 camera.
I imported depthai,
then immediately call depthai.create_pipeline(). Am I creating a pipeline wrong?
I am able to run other sample codes successfully. I noticed the sample codes use depthai.pipeline() to create pipeline.
I read this issue on github and user mentioned to call create_pipeline before request_af_trigger.
Hello @alex_007 , sorry about this, the create_pipeline() is from the first generation of our library, and is not compatible with the current version (2nd generation). To control autofocus in gen2, you can see this example.
Thank you very much erik! That works for me.
alex_007 awesome, thanks for confirming!