I am trying to disable the autofocus on my portable USB webcam (model: Trust Zyno Full HD Video Webcam) using a python and opencv. Using cap.set(cv.CAP_PROP_AUTOFOCUS, 0)<
cap.set(cv.CAP_PROP_AUTOFOCUS, 0)<
try to use follows:
// Turning off autofocus cap1.set( cv.CAP_PROP_SETTINGS, 1 );
);