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 › USB Webcam over Network - JMyron Display Problems
Page Index Toggle Pages: 1
USB Webcam over Network - JMyron Display Problems (Read 1285 times)
USB Webcam over Network - JMyron Display Problems
Jun 13th, 2009, 10:10am
 
hello everyone,

we are using the UsbOverNetwork Software (www.usb-over-network.com) to directly share USB-Webcams between 2 WindowsXP Computers. PC1 uses the Webcam of PC2 and vice versa. This works really great, almost no delay even at 1600*1200.

BUT:
With the JMyron library we can set the cameras image-size only to 160*120 Pixels without getting the usual Display Errors (grey Picture with multiple stretched images) .  
The getForcedWidth/Height Function prints out 160*120 (reason for the errors at higher resolutions).

With the OpenCV Library the camera-image is displayed correctly at all resolutions. But it gets very slow ( up to 1 sec delay) at higher resolutions.

So we would like to stick with the JMyron-Library but we cant figure out how to change the resolution that JMyron offers for the cameras.
Is there a Windows Tool or a way in Processing to change this?

greets iason
Re: USB Webcam over Network - JMyron Display Problems
Reply #1 - Jun 16th, 2009, 9:43pm
 
I wanted to ask the same question. The JMyron library has the nice feature of popping camera properties dialogs but not camera encoding and resolution dialogs, which is what I really want. I don't have much problem with resolution since my industry camera has one resolution only. But somehow the camera is in a default mode (BY8) and no filters is inserted so all I see is grey image. I'm thinking of writing a debaying filter in processing but don't know how slow it will be in 640*480 mode. If only the library has a mode/resolution dialog Sad

One comment on openCV. I tested the opencv samples written in c++ outside processing. The fps is same as using processing with opencv. Displaying image in processing does slight drop the fps but I think it's the opencv library for windows that is slow.
Page Index Toggle Pages: 1