How to force a camera to lower its resolution using parameters?
Hello, I am trying to use the parameters of cv_camera to lower the resolution of a video stream from a usb webcam. I attempted to launch the webcam using the following command:
rosrun cv_camera cv_camera_node __name:=test1 _device_id:=1 _image_width:=352 _image_height:=240
With the intent of using the image_width and image_height parameters to manually set the number of pixels. However, I did not notice any difference in the camera stream. Is this the proper procedure for trying to chance the resolution or is there a different method?
Any insight or assistance would be greatly appreciated.
I'm neither an expert on cameras nor on the cv_camera_node, but: Are you sure your "Webcam" (maybe note which model you have?) actually supports the resolution you are trying to set and that it actually supports setting it over the API?