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
1
vote
0 answers

Webcam.js error in android webview: "Could not access webcam:NotreadableError"

We are trying to use html5 getusermedia api to initialize webcamera in our android webview app. The code is perfectly working in the browsers, but when we deploy the page as webview in android app, it throws up error: "Could not access…
Ahamed
  • 163
  • 1
  • 10
1
vote
0 answers

Implementing WebcamJS in C#/ASP.NET/Razor html web app

I have very little experience with C#/Asp.net/Razor HTML. I'm trying to change the webcam feature on a web app from using the old jQuery webcam (with flash) project to the jhuckaby/webcamjs (on Github) project. I think the problem right now is that…
Blattinum
  • 11
  • 4
1
vote
1 answer

Saving image from webcam works fine in local host but not on server

Following is my code. It works perfectly well on local host. Somehow when I upload it on server image does not get save. index.php:
Sourabh Potnis
  • 312
  • 1
  • 3
  • 11
1
vote
1 answer

Webcam.js Error: Webcam is not loaded yet on the modal

Here's the error whenever I clicked the camera button to take the second picture. Here's the HTML code:
1
vote
1 answer

Webcam Not working for IE11 in React project using webcam.js

while accessing the webcam I'm getting blank screen like this import React from "react"; import Webcam from './webcam.js' export default function Camera() { const renderCamera = () => { Webcam.set({ width: 320, height: 240, …
Ayush Singh
  • 13
  • 1
  • 4
1
vote
1 answer

Capture Image from Webcam through js/JavaScript

I am looking to capture the image from the webcam. I have tested quite a few libraries including https://github.com/jhuckaby/webcamjs https://github.com/amw/jpeg_camera But all existing libraries are very old and no longer maintained by authors. I…
A Mobin
  • 148
  • 10
1
vote
1 answer

Using object trails and pixel data together , not getting what I hoped for?

I'm a very new coder, honestly confused most of the time, Any advice would be great. I was doing an exercise from Dan Shiffman vids. I’m trying to paint a line or a stroke with pixel data from a live webcam. Two canvas, one live webcam tiny and a…
Laiqa Mohid
  • 461
  • 3
  • 14
1
vote
0 answers

Webcam.js Error: No supported webcam interface found error on server but not in localhost

I'm loading the exactly same page from localhost or from an Apache server. If loaded from localhost it works fine display video from camera and I can take a snapshot When loaded from apache I got error message Webcam.js Error: No supported webcam…
devorld
  • 11
  • 1
  • 4
1
vote
0 answers

camera led light not run in javascript web application

i write a code for scan passport id .. i have plustek reader (x50). i can capture image from my device in javascript (webcam.js).. but when capture image the light source not run . how can run the led light before capture image ... i need cod in…
iflatoon
  • 11
  • 1
1
vote
0 answers

Webcam.js back camera moibile view not able to switch over?

I am using webcam.js for capturing images from my application using web camera. But in mobile browsers i am not able to capture images using back camera Only i can able to capture images in front camera. So can you please give me some suggestions…
Balu
  • 484
  • 1
  • 5
  • 19
1
vote
1 answer

Webcam.js rear camera not rotating properly

I'm using Webcam.min.js library to capture image. When i'm using Tablet horizontally then it's working properly. But when i'm doing Tablet vertically then camera not rotating. My code is: