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

webcam.js not working in Chrome: Webcam is not loaded yet?

I am using webcam.js for my asp.net website,after some chrome update the plugin not working.The web camera plugin works on localhost or https protocol.But my problem is i published site in LAN network so there is no https protocol,the site access by…
Prasanna Kumar J
  • 1,288
  • 3
  • 17
  • 35
0
votes
0 answers

WebCam - Browser does not support getUserMedia in IE Edge

I am developing an Angular application that needs photo capturing functionality. For that purpose, I am using WebCam directive by referring following links. https://github.com/jonashartmann/webcam-directive…
Ganesh UP
  • 107
  • 6
  • 18
0
votes
1 answer

Uploading image in folder creating file path using php

Using Photo Booth by vamapaull i am trying to capture image in folder.with my sql it was working fine but changing it to mysqli not able to upload.webcam takes snap but does not store image folder.(on wamp).Looking for slide show in output from…
user2939942
  • 19
  • 1
  • 1
  • 7
0
votes
0 answers

How to automatically detect outdoor webcams from webpages?

I'm interested in automatically identifying webcams/livecams in websites. Are there any common, identifiers in a website-based webcam/livecam that I could use? My ultimate goal is to programmatically scan a website and yield a url to the…
Borealis
  • 8,044
  • 17
  • 64
  • 112
0
votes
1 answer

querystring missing value after postback

I'm using webcam.js to get photos from a webcam using asp.net web form app. The problem is, I want to get the filename based on the "ID" querystring. But everytime I click "shoot" button, the querystring value is nothing. Here's my complete HTML…
Robert
  • 59
  • 1
  • 8
0
votes
1 answer

use webcam on a http website in google chrome

I am using webcam.js for getting a photo clicked of a customer for profile creation on my cloud based retail store software. It used to work fine in earlier versions of chrome and is still working fine on firefox. But now latest version of chrome…
abhinsit
  • 3,214
  • 4
  • 21
  • 26
0
votes
4 answers

Why I getting natural width 0 for dynamically created image

I am using Webcam.js for getting images form camera. document.getElementById('cameraImage').src = data_uri; data_uri gives me the image form capture event of camera. Then I create Image dynamically in JavaScript like var img = new Image(); img.src…
0
votes
2 answers

Calling two javascript functions with one button click gives a different result than with two

So, I am currently using webcam.js in order to first capture a still of an image. Then, I have written some java script code to pass this to a hidden variable so I can grab it on the ASP.NET code behind so I can save it to the database. This is what…
0
votes
2 answers

Webcam.js not working in chrome browser

I am implementing webcam.js in my website. I have downloaded script https://github.com/jhuckaby/webcamjs This script is working fine in mozilla firefox browser. But Not working in google chrome. Please check below…
Chinmay235
  • 3,236
  • 8
  • 62
  • 93
0
votes
2 answers

unable to convert string to base64

I am getting errors that "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. " public Bitmap ConvertThis(string ImageText) { …
user3402966
  • 17
  • 1
  • 8
0
votes
0 answers

How to detect webcam is present in computer or not in javascript

As I asked previously that I am doing a webcam application. I can detect the browser supports webcam or not using getUserMedia as navigator.webkitGetUserMedia. But Some time the computer doesn't have webcam then too usermedia is true. I am using…
Joe
  • 479
  • 3
  • 8
  • 31
0
votes
1 answer

Saving temporary (in memory b64 string) image to Django Imagefield

I'm using webcam.js to capture user's image during user's registration on my template. It prompts user permission and, if agreed, enable a "Take picture" button on page. On click, it takes a snapshot on the user's webcam. All working until saving…
Felício
  • 155
  • 1
  • 12
0
votes
1 answer

Apache HTTP Server stopped working when using "https://" in xampp localhost

Google chrome update their security. how to enable HTTPS:// in xampp?
kim de castro
  • 299
  • 6
  • 19
0
votes
1 answer

Store base64-encoded string to specified folder

Good day! I just want to put the image captured on the specified folder, not on the database itself via ajax call. This is what I've done: JS File: $('#btn-save-snapshot').on('click', function() { Webcam.snap(function(data_uri) …
0
votes
1 answer

ASP.NET Webcam Display

I'm writing an asp.net site in VB, and am trying to integrate in webcam functionality via javascript. I'm using webcam.js (found here: https://github.com/jhuckaby/webcamjs). When I created a new project for testing this out and working out the…
JonW
  • 55
  • 1
  • 1
  • 9