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

webcam settings #91

Closed
ghost opened this issue Feb 7, 2018 · 7 comments
Closed

webcam settings #91

ghost opened this issue Feb 7, 2018 · 7 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2018

Hi,
How can i change camera settings like resolution, exposure, brightness ? Is it possible ?

@theyosh
Copy link
Owner

theyosh commented Feb 8, 2018

Euh... not yet. Resolution will be added. Other options not. I work with auto balances and wait for 2 seconds to let the camera auto adjust. Then I take an image of the webcam.

A rpi-cam has always the same resolution. And external does not need to know it, it can read it out from the source.

theyosh added a commit that referenced this issue Feb 8, 2018
@theyosh
Copy link
Owner

theyosh commented Feb 8, 2018

Update with git pull. Restart and clear browser cache. That should give you the new resolution options

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2018

So, i will close this issue now. I will not make other webcam settings for now. To much variation with different types of webcams.

@theyosh theyosh closed this as completed Feb 9, 2018
@ghost
Copy link
Author

ghost commented Feb 26, 2018

Ok,
Sorry for my late answer, thanks for adding resolution settings. I tried to change settings directly with v4l2 -ctl but it change nothing. Images are over-exposed.
image
Thanks again for your work

@theyosh
Copy link
Owner

theyosh commented Feb 26, 2018

I can do this: https://unix.stackexchange.com/questions/412214/how-to-manage-the-white-balance-in-webcam

And it will change my USB webcam color settings and white balance. Disable auto balance setting to get your own settings working. As mentioned in the post

@theyosh
Copy link
Owner

theyosh commented Feb 26, 2018

Or other trick. Use it on your laptop and see if the camera will work correctly. Use tools to adjust the white balance. When happy, disconnect from laptop and use it on the PI.

It could be that this will somehow the webcam to work better with auto white balance or other settings

@ghost
Copy link
Author

ghost commented Mar 3, 2018

Hi, so i tried 2 differents solutions.It's not working for me. So i use another webcam, but when i try to add it don't save changes. I decided to reinstall the last one, same result changes not saved .... Bizarre... Is there a bug since the last webcam resolution update ?

EDIT : i precise that webcam i try to add work ( i can take a picture with fswebcam ). I can see something in log when i try to add it in TerrariumPI
image
But, webcam still not present in the interface...

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