Questions tagged [webcam.js]

HTML5 Webcam Image Capture Library with Flash Fallback

is a small (~2.7K minified and gzipped) standalone library for capturing still images from your computer's camera, and delivering them to you as JPEG or PNG Data URIs. The images can then be displayed in your web page, rendered into a canvas, or submitted to your server. WebcamJS uses HTML5 getUserMedia, but provides an automatic and invisible Flash fallback.

WebcamJS is based on my old JPEGCam project, but has been redesigned for the modern web. Instead of relying on Flash and only being able to submit images directly to a server, WebcamJS delivers your images as client-side Data URIs, and it uses HTML5 getUserMedia where available. Flash is only used if your browser doesn't support getUserMedia, and the fallback is handled automatically.

Demo: http://pixlcore.com/demos/webcamjs/basic.html
GitHub: https://github.com/jhuckaby/webcamjs

78 questions
0
votes
0 answers

Using the WebCam with the Microsoft Edge Browser

We host an Asp.Net Core 3.1 app in Azure. Part of our app requires the user to be able to use the camera on their smartphone to take a photo. We have put in code to accomplish this using the WebcamJS v1.0.25. This works when we use Chrome,…
jimd12
  • 25
  • 1
  • 6
0
votes
4 answers

Circle a div in html and css

I want to circle a div that contains a live preview of the webcam using webcam.js. I have tried to make it into a circle, but only the sides became round. This is the html for the webcam div:
This is the css…
mmm
  • 69
  • 8
0
votes
1 answer

How to save an image with Webcam.js?

I want to save an image that is recently captured using the WebCam. I'm using Webcam.js, it returns an image in a string format. I want to save this image inside the local directory. // Capure and save Image var data =…
SEJ
  • 31
  • 6
0
votes
1 answer

How do I record AND download / upload the webcam stream on server (javascript) WHILE using the webcam input for facial recognition (opencv4nodejs)?

I had to write a program for facial recognition in JavaScript , for which I used the opencv4nodejs API , since there's NOT many working examples ; Now I somehow want to record and save the stream (for saving on the client-side or uploading on the…
0
votes
0 answers

Use taken snapshot as file in input file

I need to take a snapshot with my webcam and use the taken picture as a file into an I managed to take the snapshot using webcam.js. Now I need to set the file of my input as the snapshot I just took. How I take the…
user12322172
0
votes
2 answers

Webcam.js Error: Could not locate DOM element to attach to

I am trying to use Webcam.js to capture image in my MVC project. But at the initial level I have an issue "Could not locate DOM element to attach to." I have attached script