Comments (7)
update:
with make debug
the behavior is different for 3 and 4:
3. on next start value is read and set at camera correctly.
4. on exit it is saved correctly
from reactivision.
update2:
with make debug
and exposure at minimum value the behavior is different for 4 and 5:
4. on exit it is saved as min
5. on next start: min
seems to be not recognized - exposure is switched to auto
from reactivision.
thanks for testing, I recently have been tweaking this particular setting, and although I managed to improve the actual functionality, there are still some apparent problems. I hope to have some time for that next week, your tests are definitely helping to resolve this I guess ...
from reactivision.
@s-light I just pushed another auto exposure fix which seems to work for me,
let me know if this also resolves your issue ...
from reactivision.
@mkalten i think that partly fixed things -
now the behavior i see is the same for make all
and make debug
i also found a bug in the Logitech HD Pro Webcam C920 firmware (tested only in combination with v4l2):
if i set absolute exposure with
v4l2-ctl --device /dev/video19 --set-ctrl exposure_absolute=10
and directly after this read it again:
$ v4l2-ctl --device /dev/video19 --get-ctrl exposure_absolute
exposure_absolute: 9
so it reports one lower than it is set..
with my other cam this set / get works as expected (it returns the same value as is set)
but the bug from update2 is still there: if i use the min value (in my case its 1) its read correctly and also set correctly. on exit it is saved as min
. on restart of reacTIVision it seams that this min-value is recognized but for some reasons the cam is set to auto.
if i use some other text like xxx
the cam is set to the minimum exposure in manual mode.
additionally i see two failed attempts to set uvc control messages in dmesg. - if it successfully sets the cam to absolute exposure i only see one failed attempt.
so i think the bug is because if the min
setting is handle the cam is not first set to manual exposure mode.
from reactivision.
ad 1) I guess this may be your camera, which just selects the nearest value?
ad 2) I pushed another fix which hopefully resolves this issue
from reactivision.
- fixed :-) thanks for your great work!!!
- offtopic:
tested some more - don't know if this is a bug in v4l2 or the cam firmware itself -
v4l2-ctl --device /dev/video19 -l
exposure_absolute (int) : min=3 max=2047 step=1 default=250 value=3
for all values below 500 it returns value one lower than set. i can see a difference in all steps down to 3. (3 also is darker than 4) so for me this does not make any sense. i also tested if this is different if the cam has a bright or dark picture - no difference found.
from reactivision.
Related Issues (20)
- reactivision and pc webcam HOT 10
- SDLInterface not available HOT 2
- feature request: Multi Camera input HOT 3
- Low fps on Raspberry Pi HOT 2
- No object in Pure Data No connect no data HOT 2
- reactivision+Tuio with Processing.org HOT 1
- SUR40 and Windows HOT 2
- OSC structure unknown HOT 1
- SUR40 and Windows10 HOT 3
- mini set not working with reactivision 1.5 ? HOT 2
- Visual Studio 2017 support HOT 1
- DoublePoint type define wrong ? HOT 1
- Yamaarashi symbols giving 0, 0 coordinates HOT 2
- No camera found on SUR40 with Ubuntu 20.04 HOT 3
- ReacTIvision not working because of Tangible Interaction Framework HOT 1
- how to compile without xcode ? HOT 1
- Custom fiducial markers? HOT 2
- Problems with external webcam
- Support for GS camera on raspberry pi HOT 4
- Can not run version 1.6 in xcode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactivision.