Results 1 to 3 of 3

Thread: adjust web cam brightness and focus in console

  1. #1
    Join Date
    Aug 2013
    Beans
    59

    Question adjust web cam brightness and focus in console

    Hi all,

    this is my "script" for saving picture from web cam:

    fswebcam --quiet --device /dev/video0 --resolution 640x480 --top-banner marchelloUA_webcam1 --gmt --png 9 --save /mnt/wd_incoming/test.png

    It works, but I need your help, how do I adjust web cam brightness and focus in console?

  2. #2
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: adjust web cam brightness and focus in console

    I don't have any experience with fswebcam (apparently I don't even have it installed) but in skimming the man page I noticed it has a "-s" option for setting controls like brightness, framerate, etc. See the manpage for syntax. Also, use the "--list-controls" option to see what controls are available for your camera.
    Jane, stop this crazy thing!

  3. #3
    Join Date
    Jan 2010
    Location
    Hyperborea
    Beans
    2,045
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: adjust web cam brightness and focus in console

    You might try running uvcview and set the brightness, you might need to uncheck "Auto levels".
    When you quit uvcview these should become the default settings for your webcam. There is no need to save before quitting.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •