Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Setting a consistent exposure with a usb webcam on osx

General discussion about anything TouchDesigner

Setting a consistent exposure with a usb webcam on osx

Postby danoved » Wed Nov 07, 2018 9:59 am

I'm using image filters on the outputs from Video Device In tops in Touch, and for them to work consistently I need to be able to set the exposure and make it constant. Since I'm on Mac OSX, DirectShow (WDM) is not an option so the exposure option in the top is not available. I can manually set the exposure by using the Logitech Gaming Software (https://support.logitech.com/software/lgs).

However, when ever I disconnect/reconnect the usb webcam these settings get reset.

Is there a way to set this programmatically through python or shell scripting for example?
danoved
 
Posts: 11
Joined: Tue May 01, 2018 11:04 pm

Re: Setting a consistent exposure with a usb webcam on osx

Postby ItayGal » Thu Nov 08, 2018 9:27 am

I never tried it, but..
what if you would open the device with opencv then do all your settings, release it and let TD open it by enabling the video device in top.
ItayGal
 
Posts: 14
Joined: Tue Aug 04, 2015 3:43 am

Re: Setting a consistent exposure with a usb webcam on osx

Postby swampmonster » Thu Nov 08, 2018 11:02 am

i think i used macam for this but it was so long ago i can't really remember.
webcam settings appears to do this. it has profiles and settings that can be loaded on startup.
DESCLAIMER: I have not tried this myself.
http://mactaris.blogspot.com/p/webcam-settings.html
swampmonster
 
Posts: 55
Joined: Sun May 13, 2012 5:18 pm
Location: new orleans, LA, USA


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 11 guests