webcam image overexposed on second program call

asked 2015-09-10 07:19:11 -0600

interference gravatar image

updated 2015-09-10 07:20:05 -0600

Hey guys, I have some issues with my webcam as it doesn't show the rightly exposed image in opencv. When I'm using the provided webcam-software or skype I get the same image. However using opencv the image is different as it's overexposed. I noticed that when I launch my opencv application (which only shows the current images) after aquiring an image with a different software, everything is good. But restarting my program gives me the overexposed images again. I also tried to change the exposure via CV_CAP_PROP_EXPOSURE in cap.set but that didn't work either. So what could be the issue, did you encounter such a problem yet? It seems like opening my program changes some (internal?) webcam settings on closing, such that the image is overexposed when I'm calling it again. Thanks a lot and best regards!

edit retag flag offensive close merge delete

Comments

May be this post will help you

LBerger gravatar imageLBerger ( 2015-09-10 12:33:51 -0600 )edit