code: public static void consumeBufferedImage(BufferedImage image, Processor processor, WebcamEndpoint endpoint, ExceptionHandler exceptionHandler) {
          Validate.notNull(image);
          Validate.notNull(processor);
          Validate.notNull(endpoint);
          
          try {
              Exchange exchange = createOutOnlyExchangeWithBodyAndHeaders(endpoint, image);
              processor.process(exchange);
          } catch (Exception e) {
              exceptionHandler.handleException(e);
          }
      }
docs: Consume the java.awt.BufferedImage from the webcam, all params required.
  
  @param image The image to process.
  @param processor Processor that handles the exchange.
  @param endpoint WebcamEndpoint receiving the exchange.