Questions tagged [webcam-capture]
The Webcam Capture library makes it possible to use a build-in or external webcam directly from Java. It is designed to abstract commonly used camera features and support various capturing frameworks.
207
questions
-1
votes
0
answers
45
views
Capture an image from webcam using php only
I have an assignment that limits me to use php only on backend side and javascript only on client side.
My question is, is it possible at all to capture a webcam image using only php ?
As all ...
0
votes
1
answer
49
views
increase opencv webcam speed
i need to capture a video with my webcam. I would like to use open cv for my usage.
The skript you can find down under needs a bunch of time to start the capturing.
Does any of you know a solution to ...
0
votes
0
answers
9
views
Force browser to download JPEG from camera
I have read numerous posts and tried code from here and elsewhere to force Chrome/FF to download a JPEG returned by a Foscam webcam on the client side, but the most successful approaches so far only ...
1
vote
0
answers
28
views
getUserMedia mediaRecorder how to convert event.data from safari
This question is about event.data returned by SAFARI
CONTEXT : something like this tutorial https://webkit.org/blog/11353/mediarecorder-api/
navigator.mediaDevices.getUserMedia( { audio: true, video: ...
0
votes
1
answer
159
views
ModuleNotFoundError: No module named 'streamlit.report_thread'
Trying to deploy real time emotion detection model and getting this error from streamlit. I tried installing all the libraries but it always throwing this error.
0
votes
0
answers
67
views
Sending webcam video and screen sharing at the same time using python, opencv
I have to make a project that shares screen and webcam video of multiple clients at the same time. The screen sharing and webcam sharing work separately but I can't combine them and make them work at ...
0
votes
2
answers
48
views
How to capture a 500 images from a video through webcam in opencv python?
I'm using the below code to capture images from webcam. But i need only some no.of images to be captured on click.
# Opens the inbuilt camera of laptop to capture video.
cap = cv2.VideoCapture(0)
i =...
1
vote
0
answers
38
views
Sarxos Webcam-Capture error - "We shouldn't be here..."
Currently, I'm working towards running WebcamScanQR.java from BoofCV on my Raspberry Pi. As I'm having problems with that I thought it'd be best to start with trying to get DetectWebcamExample.java ...
0
votes
0
answers
87
views
Zoom In and Zoom out in live camera in C++
I am trying to add a function in my code to add zoom in and zoom out option in my webcam, using either the mouse scroll wheel or by drawing a rectangle on the screen, or by doing both. So far I only ...
0
votes
1
answer
140
views
Mix webcam video, audio with gstreamer
How to mix h264 format with audio on webcam with gstreamer?
gst-launch-1.0 -v v4l2src device=/dev/video2 ! video/x-h264,framerate=30/1,width=1920,height=1080 \
! queue ! mux. \
alsasrc device=hw:1 ! ...
0
votes
0
answers
19
views
Stop Webcam in angularjs
I use angularjs for my application development, I use webcam directive "https://github.com/jonashartmann/webcam-directive" but after capturing a photo I must stop webcam I call the function &...
0
votes
0
answers
237
views
Capture wide range video in ReactJs using react-webcam
I am using react-webcam to capture the image from video however I am stuck with one issue on mobile devices, for mobile devices I am not able to configure the react-webcam to fit the video stream to ...
-5
votes
1
answer
57
views
Synchronization of webcam and phone camera [closed]
Good day everyone, is there possibility to synchronize the webcam of laptop and phone camera? and record them at the same time???
Thx.
0
votes
0
answers
74
views
getUserMedia constraints disable my camera
I am writing a webpage that displays the camera image at full size.
It is meant to be used on iPads only so I made a constraint to adapt the camera resolution to 768x1024 (Provisional, just for ...
1
vote
1
answer
326
views
The cv2.imshow not showing webcam video and not opening any window
I have an issue with showing up the window and cam capture using OpenCV
When i'm run the script, i see that the cam is working, but the window with this cam is not showing anywhere, i've had just the ...
0
votes
0
answers
136
views
OpenCV Webcam, open successful, read fails
I am using opencv 4.5.1 with Python 3.9.4 on Win10.
Until now I used a Logitech C920 for video capture. But as I needed higher frame rates I bought a "ELP FHD08S-LC1100" which supports up to ...
1
vote
0
answers
222
views
how capture image or choose image file from web browser using js
i'm trying to capture image or upload an existing image to my website , when i take the picture from my laptops webcam selected automatically , im trying several ways but none of them works , just ...
0
votes
0
answers
59
views
Simulate webcam in Google Chrome
I'm creating an automated test where the objective is to simulate a photo capture.
To be able to do this via Chrome and a simulate webcam, I'm using the parameters below:
--use-fake-ui-for-media-...
0
votes
0
answers
35
views
Object detection API web cam deployment
I'm working on object detection model to detect pencils. For this purposes I'm using tensorflow object detection API, training job showed normal loss results(0.2-0.28 total loss). Now I want to run ...
1
vote
1
answer
217
views
Unity - EasyAR 3.1.0 webcam black screen since updating Unity to 2021.1.18f1
EasyAR 3.1.0 worked properly in older versions of Unity. The webcam loaded as expected, but since I've updated to Unity 2021.1.18f1, the webcam only shows a black screen. I tested it with the samples ...
1
vote
1
answer
190
views
Cannot initialize two VideoCapture instances in Raspberry Pi 4
I've been trying to record video using two WebCams in my Raspberry Pi for a project I'm working on.
I tried using OpenCV VideoCapture function to do this and it works just fine on my Laptop, but when ...
0
votes
0
answers
144
views
Android Emulator Camera using webcam
I'm trying to use my webcam as camera for android emulator. For some reason, it's not working. I followed everything that people suggested, and it's still not working. See config file below.
camera ...
0
votes
0
answers
279
views
save file (image) in desktop or mobile folder with angular progressive web app
I recently implemented the camera function thanks to the library ngx-webcam.
I would like each photo taken to automatically go into an "image" folder of my mobile phone or PC. I don’t see ...
0
votes
0
answers
175
views
Sarxos Webcam library
I'm trying to access 4 webcams connected via usb. The problem is when I'm direclty connecting the webcams then it's working just fine, but when I'm using a HUB 3.0 in order to connect my webcams then ...
1
vote
0
answers
520
views
HTML Button to switch on a Webcam via Python, Flask and OPENCv
I have been working on a project for quite a while. Scenario, I want to start my webcam service from the backend so that I can perform some AI tasks, like object identification and face recognition. ...
0
votes
2
answers
418
views
React Webcam set Timeout
In React Webcam is there a way to detect when the webcam is on? The webcam can take some time to turn on and display the image. The times seem to vary between 1 second and 5 seconds maybe it depends ...
0
votes
0
answers
126
views
raspberry pi4 opencv and usb web camera python3 I had install opencv
in face recognition I write below code but I still have problem that USB webcam could not open in new window I try to put -1 and 1 and it dose not work
import cv2
cam = cv2.VideoCapture(0)
cv2....
0
votes
2
answers
769
views
Webcam for WPF .NET Core 3.1
I've tried a lot of dependencies in my project for webcam, including :
OpenCVSharp
WpfWebcamControl
WebcamCapturer.Core
But seems like all of those dependencies does not fully compatible with my ...
-1
votes
1
answer
147
views
web camera accessibility over local network for face recognition
I want to create a face recognition app with Flask that will be accessible over the local network so other devices can access, the frames from the video stream will be sent to Flask server via socket ...
0
votes
2
answers
59
views
How to compile a java 7 project by java 6 environment
I am trying to make a jar file for handle webcam. I have to use this jar to another application. But this application made by java 1.6 so I have to convert this jar to 1.6. this code is ok for java 8. ...
0
votes
1
answer
1k
views
v4l2 manual exposure not working compared to Windows 10
This question is very similar to V4L2 absolute exposure setting has (almost) not effect
I have a UVC compliant camera that I am running on a Raspberry Pi CM3+ module. It appears as video0.
Using the ...
0
votes
1
answer
232
views
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 ...
0
votes
1
answer
27
views
How to keep the previous html 5 video on a different canvas
Here is the situation.
I'm trying to create thumbnails below the webcam display.
Here is my current code:
<div class="row">
<div class="col-md-6">
<...
-1
votes
1
answer
3k
views
WebCam Capture c# Logitech
I made this program for taking an Image from my Logitech HD Pro WebCam c920.
The program actually work for Integrated Camera, but when i want to take the flow of my Logitech Webcam
i have nothing... (...
0
votes
1
answer
286
views
How to set framerate for IMFSourceReader for webcam capture on Windows 10 laptop
I have seen the other questions but somehow its not working out for me.
Environment: Windows 10 MediaFoundation/SourceReader in async mode., Logitech C922 webcam 1080p pro.
Issue:
I am trying to read ...
1
vote
1
answer
741
views
LabVIEW 2018 USB Webcam Image Grab
I'm looking to capture an image from my usb webcam in LabVIEW 2018. I've looked at older posts (the one from Lava working with the 'free' portions of V&M Toolkit, another webcam test that hangs ...
2
votes
0
answers
164
views
How do I capture a video in a tensor4d on tensorflow.js?
I'm trying to build a web application that captures a series of images that need to be evenly spaced. I've noticed that the capture() function on tf.data.webcam() takes a variable amount of time. Is ...
0
votes
0
answers
125
views
navigator.getUserMedia is undefined on a php server that is not local, but locally it works perfectly
I am making a platform that allows the capture and saving of a photo from the webcam, on localhost this works well, but when mounting it on a server that is not local, it does not work for me.
...
1
vote
0
answers
29
views
Webcam not opening in secondary Python process (macOS Catalina)
I have recently upgraded my MacBook to run Catalina. This seems to have broken webcam access to secondary processes.
The following code ran like a charm on Mojave but won't let me access the webcam in ...
1
vote
1
answer
12k
views
Webcam.js Error: No supported webcam interface found
I'm using Webcam.js in my Laravel Project for capturing image.
I have already come across from this thread (Webcam js Error in Chrome: Could not access webcam)
I did same but still, I got this error:
...
2
votes
0
answers
101
views
Trying to screenshot from a webcam stream but not capturing the stream
I'm attempting to create a program to capture a screenshot every day at the same time for water clarity comparison. The problem is it's saving a screenshot but not including the web stream in the ...
0
votes
1
answer
459
views
Some video and audio properties missing while recording with getUserMedia()
I am using the below code to record a video through web cam and I need to transcribe this and take the audio from that video and find some keyword match percent.
The video is recording and sending to ...
6
votes
1
answer
276
views
Switching from OpenCV 3 to OpenCV 4 causes webcam to record at a max of 5 fps instead the usual 30 fps
I'm having some trouble since I changed from OpenCV 3.x to 4.x (compiled from source) in my C++ project. I've replicated this behaviour in a small example that just opens a webcam and records for 5 ...
2
votes
0
answers
134
views
Does "Webcam capture API" work with AdoptOpenJDK 11?
I am writing a simple webcam recorder using Webcam Capture API, Xuggler and Java's Sound API. I've been using JDK 1.8 for this project and almost completed it. I am able to record video with audio ...
0
votes
1
answer
923
views
Capture Image from Webcam through js/JavaScript [duplicate]
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 ...
1
vote
1
answer
283
views
Python OpenCV it's not recognizing my second WebCam [ CLOSED ]
I'm trying to use a different WebCam from my notebook on opencv python with this code:
import cv2
cap = cv2.VideoCapture(1)
while True:
ret, frame = cap.read()
cv2.imshow(frame)
if ...
0
votes
0
answers
33
views
How can I get a stream of a refreshing ip webcam?
On many webcam sites there are jpg webcams which refresh every second instead of a uninterrupted m3u8 stream. How can I get live images every second without refreshing the Page? Or what parameters can ...
1
vote
0
answers
395
views
How to get webcam feed in chrome extension persistently when chrome is open?
I am trying to make a chrome extension where I need access to the webcam feed once the user has allowed permission and has toggled on button in the extension popup. The feed should (and the extension) ...
1
vote
1
answer
794
views
How to align my OpenCV output from the webcam at the Centre of my screen
How can I align my OpenCV output from the webcam at the centre of my screen. The visuals are always positioned at the top right corner. I want the position exactly at middle of the screen or at top ...
0
votes
1
answer
1k
views
angular 8 Ngx-Webcam - webcam image upload to Firebase storage
In Angular 8 application I am using Ngx-Webcam to capture the webcam image.
and able to get the image by using imageAsDataUrl also able to display on page by using img tag
<img [src]="imgSrc">
...