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.
Page Index Toggle Pages: 1
Capture resolution is cropping the cam (Read 734 times)
Capture resolution is cropping the cam
Apr 30th, 2006, 1:02am
 
Hi,

I´m having a little problem with resolution settings.

My camera is 640x480, but I wan´t to capture at 320x240 to get a better performance, so:

 video = new Capture(this, "PCTV USB2 2821 Capture-WDM", 320, 240, 30);

The problem is that the output image I get is a crop of the 640x480, and not a identical resized image as I expected.

It´s pretty wierd cause if you center the camera in some subject it will bearly appear on the screen.

Is there a way to set the capture resolution directlly?
Re: Capture resolution is cropping the cam
Reply #1 - Apr 30th, 2006, 10:29pm
 
Might be the actual driver rather than Processing. I updated my Creative Live Pro driver and now it does the same thing as your whereas it never used to. If I use an irregular capture size I get this crazy robocop vision thing happening.

Tried it in version 92 - same grief. (68 won't even run anymore Sad)

Don't know if perhaps it might be the new Quicktime causing it.
Re: Capture resolution is cropping the cam
Reply #2 - May 1st, 2006, 1:28am
 
I don't think it's the camera driver since I can capture in other enviroments correctly.

May be QTCap - I get wierd images using it...

Didn't figure out how to solve though..
Page Index Toggle Pages: 1