Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Gain for Arducam 1MP*4 Quadrascopic Camera Bundle Kit #170

Open
alonb235 opened this issue Feb 9, 2023 · 0 comments
Open

Setting Gain for Arducam 1MP*4 Quadrascopic Camera Bundle Kit #170

alonb235 opened this issue Feb 9, 2023 · 0 comments

Comments

@alonb235
Copy link

alonb235 commented Feb 9, 2023

I am able to capture video using the Arducam 1MP*4 Quadrascopic Camera Bundle Kit however the images are very dark and I would like to adjust the gain values.

Using Opencv's VideoCapture object does not work and using a v4l2-ctl call such as

subprocess.call([‘v4l2-ctl -d /dev/video0 -c gain=10’],shell=True)

only adjusts the gain value for one frame. I have seen an arducam forum talking about using the IOCTL functions in utils.py but I have been unsuccessful in doing so or finding any documentation.

How can I use a fcntl.ioctl() command to set a fixed gain value for these cameras?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant