code: public static synchronized WebcamDriver getDriver() {
  
  		if (driver != null) {
  			return driver;
  		}
  
  		if (driver == null) {
  			driver = WebcamDriverUtils.findDriver(DRIVERS_LIST, DRIVERS_CLASS_LIST);
  		}
  		if (driver == null) {
  			driver = new WebcamDefaultDriver();
  		}
  
  		LOG.info("{} capture driver will be used", driver.getClass().getSimpleName());
  
  		return driver;
  	}
docs: Return webcam driver. Perform search if necessary.<br>
  <br>
  <b>This method is not thread-safe!</b>
  
  @return Webcam driver