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

Uploading jpeg file from webcam.js to nodejs server

I have called snap function of webcam.js library.I got image data_uri in base64 format. I want to upload that file to nodejs server. I have called webcam.upload() function, I am getting an empty object in request.body. client side code looks like…
1
vote
1 answer

How to access third party libraries such as webcam.js in angularjs 1.5.2

I am new in AngalrJS ,I am trying to access the webcamera through the angularJS. For that reason i have imported the third party library webCam.js and used directive (Found here https://github.com/bcabanes/ng-camera). But I am getting the…
1
vote
0 answers

Take and save photo from webcam in one button ASP.NET

I try to create a webpage taking and saving the members' photo with their rate about our services. And I wanna do this in one button (take photo then save). I had created 2 button types: Capture photo and Rate button (Good, Bad, No idea) but I…
jamemin
  • 11
  • 3
1
vote
1 answer

How can I upload a webcam snapshot with a name which is present in my form?

I have this plugin that takes a snapshot and upload the jpg to the server. Now, I'm using the function date('YmdHis') . '.jpg' to name the file. But I would like to give the filename at my html file. I have 4 files: TEST.HTLM with my html, WEBCAM.JS…
varad mayee
  • 619
  • 7
  • 19
1
vote
1 answer

What is the error in .catch inside webcam.js file

In an application I am using webcam. TO access it I used webcam.js (https://pixlcore.com/). But when I opened it in eclipse it shows error as:Syntax error on token "catch", Identifier expected. little code snippet: var self = this; …
Joe
  • 479
  • 3
  • 8
  • 31
1
vote
2 answers

Webcam js integration on Codeigniter

I tried to research and read a lot of articles regarding this problem I have red some but the discussion seems to end without the solution yet So the problem is I cannot get to show the camera on my CI app, but when I just copy the exact codes and…
ckkaqa
  • 171
  • 1
  • 8
1
vote
0 answers

IE11 - flash (.swf) not working when not connected/offline using appcache (webcam.js)

we are running webcam.js to take pictures inside a html site. We are also using appcache to provide offline access to all of the files. Everything works fine in Chrome (43.0.2357.124) regardless of the connection (online/offline). When using the…
1
vote
1 answer

How to use front tablet's webcam with HTML GetUserMedia?

I am trying to use WebcamJS in Chrome on Windows tablet which has 2 webcams. However, it is working only with back webcam. Any idea how to make it work with front webcam ? Thanks for any hints.
Frodik
  • 14,986
  • 23
  • 90
  • 141
0
votes
0 answers

webjam js on vue js composition api

My code get error when use this code:
0
votes
0 answers

Landscape and Portrait mode

Can someone help me? Is there any way for me to be detected as a mobile, using the desktop browser on a website using the developer tool? I want to use my webcam in portrait mode, but when it's detected as desktop I can't adjust it to portrait mode,…
0
votes
1 answer

How do I use the main camera (back Camera) in WebCam.js

I am using webcam.js by https://github.com/jhuckaby/webcamjs and In mobile devices, It's working well the front camera is opening by default. I can't change it to back Camera, I want to change the default to the Main camera. Is there any way to…
0
votes
0 answers

How can I capture photo from built-in or connected camera to PC?

I am trying to capture photos using a laptop built-in camera or connected mobile phone to my pc with a jQuery plugin. I am working on Ubuntu 18.04 LTS desktop OS with a virtual host i.e. abc.edu.pk. I have tried too many plugins like webcam.js…
Abdul Rahman
  • 1,669
  • 4
  • 24
  • 39
0
votes
0 answers

How to put a frame on camera while capturing Image using jquery?

I am making a website to capture image ID. I am using webcam.js How can I put a frame on camera when it is accessed on mobile web browser and crop the area outside the frame to focus only on the captured ID? I cannot find any documentation on…
JBA
  • 219
  • 4
  • 15
0
votes
0 answers

How to display webcam in a small container but keep the high resolution

I want to display the webcam in a small container and it is responsive to mobile, but the problem it is dependent on the width size of the container. HTML
JBA
  • 219
  • 4
  • 15