Setting custom camera parameters in Open CV

I am using property (cv2.CAP_PROP_SETTINGS, 1) to get all the camera parameters dialog box but now I am looking to change anyone of the camera parameter with other camera parameter in this dialog box. so can I get any suggestions?

Thanks in advance!
Camera_settings parameter

please note, that this will invoke the camera drivers persistent settings (only available from the dshow backend on win) and no, you cannot add other values there.

you can still try to
cap.set(cv2.CAP_PROP_XXXX, something) to change props not listed in the box

crosspost:

which backend code, please ?

it is not a backend (like CAP_DSHOW, CAP_FFMPEG, etc)

and sorry, i have no idea, what you mean.
can you try again, please ?

1 Like

that simply calls some DSHOW API. that dialog is not made by OpenCV.

opencv is open source. all the code is on github. just browse it.

1 Like

How to get camera parameters dialog box in Linux?
Thanks in advance!

impossible. linux doesn’t have such a dialog. OpenCV does not make this dialog, but Windows does, as I said.