prototype to process the camera image in the browser (!!)