View Single Post
  #4   Spotlight this post!  
Unread 26-02-2016, 22:00
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Help with Vision for WebCams

You can manually set the white balance in Java so there's no reason you can't in C++.

Java code:

Code:
CameraServer server = CameraServer.getInstance();
cam = new USBCamera("cam0");
cam.setExposureManual(100); // exposure, 0 to 100
cam.setBrightness(100); // brightness, 0 to 100
cam.setWhiteBalanceManual(10000); // white balance, unsure what max is (10000?)
server.startAutomaticCapture(cam);
Reply With Quote