MediaStream ImageCapture polyfill. Take photos from the browser as easy as .takePhoto().then(processPhoto)
This version adds Safari compatibility on iOS 11 and fixes deprecated usage of URL.createObjectURL(stream).
Thanks @FluorescentHallucinogen and @sinedoOo for the PRs.