We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › A video library that supports camera properties
Page Index Toggle Pages: 1
A video library that supports camera properties? (Read 673 times)
A video library that supports camera properties?
Jun 10th, 2009, 8:41am
 
Hi everyone,

I'm trying to use an appropriate video capture library that has the ability to set camera properties. I use the camera to analyze motion and want to disable auto white balance and auto anything in general and set the white balance myself.

I Tried the processing.video it's giving me duplicate frames even with video.available(). I tried oencv and it's a bit slow and I didn't find a way to set camera properties.

Could anyone suggest me a library that can do it? I know there a couple of more libraries I have not tried. Meanwhile if any of you have success stories on setting camera properties, I appreciate if you could share with me. Thanks.
Re: A video library that supports camera properties?
Reply #1 - Jun 11th, 2009, 8:49am
 
Just want to report back. I found the JMyron video library from processing->reference->libraries->contribution->video. The library has a function to bring the direct show video properties dialog so that one can set the settings on the fly. I don't know if there is a way to set properties by means of function calls.

The capture function is considerably faster compared with opencv library. I was able to get about 18 FPS and now I can get 30 FPS on my integrated webcam. On a slower machine I was getting 8 FPS with opencv and 12FPS with JMyron! Resolution was set at 640*480. That was impressive especially on not-so-old machines that one can use processing to get full speed video. The package also includes its DLLs that can be just copied into processing folder. Opencv would require separate install for the system and lots of people seem to have trouble with installing opencv. The JMyron library also has some motion detection functions.
Page Index Toggle Pages: 1