Ask Your Question
0

webcam on exterior conditions

asked 2016-03-31 10:43:05 -0500

nvoltex gravatar image

updated 2016-03-31 10:50:06 -0500

Hey there,

Firstly, I'm aware this is not a completely ROS related question, however I have used this web camera before on the exterior with no problems, so I'm wondering if I might be missing something on my setup.

Basically the problem is related with the "saturation" of the image when on the exterior (due to daylight). The image gets either completely white or really "whitish". I'm using the usb_cam ROS package to get the images from the camera.

The launch file I'm using right now is:

<launch>
        <node name="usb_cam" pkg="usb_cam" type="usb_cam_node">
            <param name="video_device" value="/dev/video1"/>
            <param name="image_width"  value="640"   />
            <param name="image_height" value="480"   />
            <param name="pixel_format" value="mjpeg" />
            <param name="auto_focus"   value="true"  /> 
            <param name="framerate"    value="30"    /> 
            <param name="camera_frame_id" value="/camera" />
        </node>
</launch>

Initially I didn't had the auto_focus enabled, but added it on an attempt to solve the problem. The camera is a "Creative Live! Cam Socialize HD 1080". I have used this camera on the exterior on pretty similar conditions with no problems, however I can't seem to find a way to use it now. Am I missing something?

Once again sorry for the question not being totally ROS related, but I'm pretty lost about this. Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-31 12:34:23 -0500

Mehdi. gravatar image

There is saturation and brightness parameters as well, try using them in your launch file. From the documentation:

~brightness (integer, default: 32)

    Brightness of video image (0-255) 

~saturation (integer, default: 32)

    Saturation of video image (0-255)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-31 10:43:05 -0500

Seen: 55 times

Last updated: Mar 31 '16