Photos can be captured from a camera using a combination of MediaDevices & Canvas Javascript APIs. Video frame of the camera stream can be captured as an image.
Capture Photo From a Camera using Javascript
Photos can be captured from a camera using a combination of MediaDevices & Canvas Javascript APIs. Video frame of the camera stream can be captured as an image.
https://usefulangle.com/post/352/javascript-capture-image-from-camera