Re: Re: Using <cvSetCaptureProperty> to set webcam resolution

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Re: Re: Using <cvSetCaptureProperty> to set webcam resolution

Milton Chu
Hello Panrnurzeal2,

Thank you for your suggestion.  I think it is a bug in Opencv and we would have to get around it like you recommended.

Best regards,


--- On Wed, 12/24/08, parnurzeal2 <[hidden email]> wrote:
From: parnurzeal2 <[hidden email]>
Subject: [OpenCV] Re: Using <cvSetCaptureProperty> to set webcam resolution
To: [hidden email]
Date: Wednesday, December 24, 2008, 1:47 AM

            I have the same problem,too. I didn't get the error but the image from

camera didn't show in the windows at all.

The solution for me is to resize each image from camera by myself

instead of using cvSetCapturePropert y.

--- In OpenCV@yahoogroups. com, Milton Chu <miltonjohnnychu@ ...> wrote:


> Hello,


> I have been trying to use the function call cvSetCapturePropert y in

Linux environment to set the resolution of video from webcam (Logitech

QuickCam) to 640x480 from the default value of 320x240.  It would

compile without any problem.  However, when I run the program up to

that function call, it would give an error message, "Illegal

Instruction" . 


> I noticed that were some proposed solution in the forum to modify

the source code of the cvcap.cpp in the otherlibs/highgui folder. 

However, this was written for earlier version of Opencv, whereas I am

using the latest 1.1.0 version.  Does anyone know how to solve this

problem?  Thanks much for your help in advance.


> Milton  






> [Non-text portions of this message have been removed]







[Non-text portions of this message have been removed]