Skip to content

Logitech C270 exposure issues?

I have a Logitech C270 USB webcam, and I need to set the exposure on it to a very small amount for a computer vision application. Unfortunately, no matter what value I set exposure to, I get a bright (high exposure) image out.

Here's how I've been setting exposure:

v4l2-ctrl -c exposure_auto=1 # no problems, exposure doesn't change
v4l2-ctrl -c exposure_absolute=5 # exposure steadily climbs forever

The exposure property (control?) of the camera seems to be rising every time an application grabs a frame. I've tried to set exposure with the Qt test bench and have gotten the same result. The only way to stop the exposure rise is to re-enable auto-exposure, which gives me an image that's too bright to be used in my application.

1 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
bb2bem

Author

21
posts
169
comments
7
media
View profile

1 comment

Made some progress... I was able to get the exposure to "stick" with this method:

  • Use Qt test bench
  • Disable "Update on change"
  • set manual exposure
  • click update
  • close
  • exposure is now fixed apparently?

Now to figure out how to do that from a CLI.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.