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

Raspberry - PS3 eye - controls has no effect #3

Open
samubence opened this issue Apr 12, 2016 · 1 comment
Open

Raspberry - PS3 eye - controls has no effect #3

samubence opened this issue Apr 12, 2016 · 1 comment

Comments

@samubence
Copy link

Using this addon on a Raspberry Pi Jessie (of_9.3) for grabbing frames from the PS3 eye is woking great. But the settings (exposure, gain, etc.) seems to have no effect, although the settings function returns 0 (no error).
Do you have any suggestion why is happening?

@mennowo
Copy link
Owner

mennowo commented Apr 12, 2016

Hi @samubence,

good to hear the addon works on the Pi, I have never tried that.

Have you also tried the ofVideoGrabber class? It may have improved over the past 4 years... It used not to have a settings implementation (actually, empty implementation), but it may have that now? What I used to do: set the settings in guvcview, close guvcview, and then the settings would remain the same when running my ofApp...

Anyway, in my experience, the settings method works, although not for every setting. As you can see in the source, all the settings method does is call xioctl() on the file descriptor. So, be sure you call initGrabber() before you call the settings method. I think contrast and saturation should work, about gain and exposure I am not sure.

Hope this helps, Menno

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

2 participants