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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
82 views

How to use Webcam capture Library in VBA Access?

I'm developing a little project of an Access database for my hometown nonprofit health mutual. I'm new in database and VBA programming. What I do is I search on Internet, learning and adapting the ...
mijd's user avatar
  • 1
0 votes
0 answers
46 views

in Open CV Sharp, how can I preview a webcam at one resolution and save the image at a higher resolution?

I am creating a web camera capture user control for use in a WPF application. Previously I was using WPF Media Toolkit for the camera capture. That works, but the frame rate I am getting from Open CV ...
Bill Macintyre's user avatar
0 votes
0 answers
24 views

Unnecesarry canvases created by react-webcam

I am using react-webcam in my React Typescript application, and there is a scenario when user have to take around 100 photos in one session. So with this function I get the screenshot and the add the ...
Atabay Heydarli's user avatar
0 votes
0 answers
60 views

C++ Builder using 2 TVideoCaptureDevice objects at the same time

Working on an application in C++ Builder which brings in video from 2 different web cams. I use 2 TVideoCaptureDevice objects. A button starts the capturing of the video. I can only get 1 web cam to ...
Drewski7280's user avatar
0 votes
0 answers
44 views

Streaming the hosts webcam onto a webpage in Python

I want to record my webcam in python and livestream it per flask to my website When i open the website on the route "/" it doesnt show anything and on "/video_feed" it just gives ...
Douzooo's user avatar
0 votes
0 answers
5 views

I need a dot Net solution to initialize and capture video data from USB 3.0 Webcams

I need a dot Net solution to initialize and capture video data from USB 3.0 Webcams? Is there one that i can use for a generic USB cam on winodws? I used Active X controls but it does not seem to ...
user159598's user avatar
0 votes
0 answers
12 views

flask facial emotional recognition not working

i am getting just a few seconds a webcam stream, then it has gone or it is black frame this one is the app.py https://github.com/aj-naik/Emotion-Music-Recommendation ``from flask import Flask, ...
ahmet doğukan sarıyalçınkaya's user avatar
0 votes
1 answer
69 views

applyConstraints() changes focusMode when using Chrome on Linux, but not Windows

I am using the following code to get access to an available webcam, check to see if focusMode is among its capabilities, and if so, change focusMode from "continuous" to "manual". ...
JHow's user avatar
  • 15
0 votes
0 answers
60 views

Ajax call return 403 Forbidden error while uploading image from web cam

<!DOCTYPE html> <html> <head> <title>Capture webcam image with php and jquery - ItSolutionStuff.com</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/...
Lakshmi Iyngaran's user avatar
0 votes
0 answers
20 views

Splitting captured video in p5js

I'm experimenting with p5js and createCapture(VIDEO); and running ml5js object detection on it. Now I'd like to split the captured video from the webcam in half (without losing anything captured) and ...
fiffi030's user avatar
0 votes
0 answers
34 views

Error: missing type WebcamException when I try to run Webcam.getDefault()

I am a junior programmer working on a personal project that requires me accessing a webcam in a java file. I found sarxos's webcam-capture and have downloaded it into my project folder. When I run my ...
Thorium1717's user avatar
0 votes
0 answers
40 views

How do I write a script to save a screenshot from a specific object in a webcam?

I'm currently using a ssd mobilenet algorithm to detect objects in a webcam live time. It shows me the predicted item on the webcam and the position from the blob at the terminal as well. Here is the ...
Borghi97's user avatar
0 votes
1 answer
168 views

react-webcam not closed after component unmount in react-use-face-detection

I'm try to implement face recognition component using react-use-face-detection and @mediapipe library.When I unmount component react-webcam not closed successfully.How I fix that error? const { ...
Prageeth Milan's user avatar
0 votes
0 answers
139 views

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 ...
Willian Klinger Marini Patroci's user avatar
0 votes
0 answers
258 views

Windows Media Capture in a VB .Net WinForms application

I'm using Windows.Media.Capture in a VB .Net WinForms Application via an Xaml Island. I'm have a button on a from that opens another form and displays the camera preview. On that form is a button that ...
user21031223's user avatar
1 vote
0 answers
62 views

Camera to computer high latency

I am connecting a Fujifilm x-t3 to my computer (usb-c to usb-c) and getting the video stream using OpenCV and C++ in Visual Studio. The issue is I am getting a latency of 116 milliseconds from the ...
jlsdev's user avatar
  • 11
0 votes
0 answers
271 views

WebCam texture doesn't work on Build Windows - Unity 2022.1.17f1

WebCamTexture works fine on editor, but doesn't work on Build. I have tried: turn off antivirus and firewall, check authorization, put the webcamtexture on UI_RawImage and a plane gameObject, nothing ...
Rodrigozol's user avatar
0 votes
1 answer
93 views

Program suddenly close after running (opencv face-recognition)

Im trying to do a face-recognition using opencv I read some of the questions and I tried the answers below the questions on similiar topics but still the problem still persist The code that i've tried ...
Ecn Nllr's user avatar
0 votes
0 answers
37 views

Get scaled coordinate of webcam capture

I want to implement a website with webcam video capture and get the coordinates when user clicked on a point on the capture. But since webcam resolution is different and I also want a static dimension ...
twago10's user avatar
  • 11
0 votes
1 answer
662 views

ngx-webcam not giving mirror like images even after setting [mirrorImage]="'always'"

Iam trying to integrate selfie image upload using ngx-webcam. i want the image as in mirror.for that i set [mirrorImage]="'always'" [mirrorImage]="'auto'" [...
sinan's user avatar
  • 143
0 votes
0 answers
287 views

My webcam can't zoom in with Open CV Python

For some reason, the code works with the webcam Logitech C920 or integrated notebook camera, but when I try with the Logitech C920e it does not work. Obs: There are more information after the code. ...
Murilo Tinari Abdalla's user avatar
1 vote
1 answer
43 views

ValueError: not enough values to unpack (expected 3, got 2) when I try to capture a webcam images

I want to apply the python code published in the following page link [https://data-flair.training/blogs/sign-language-recognition-python-ml-opencv/] I faced a problem with using the data augmented ...
hh tt's user avatar
  • 395
-1 votes
1 answer
176 views

WebcamException error when using webcam-capture

I am trying to use the webcam-capture Java library, but I keep getting an WebcamException error. This is what I have in my pom.xml: <dependency> <groupId>com.github....
fallingriptide's user avatar
1 vote
1 answer
127 views

Is webcam detection still supported vlcj-4.7.3

Is webcam detection still supported? The MediaDiscovererTest.java file does not seem to detect any capture devices. (win/mac) It seems to me that the device detection was working with earlier versions ...
alexflex25's user avatar
2 votes
0 answers
413 views

Webcam.set() not showing but Webcam.snap() works

I'm currently new to javascript and I'm attempting to learn to set my webcam and have it take a snap using js. However, only the Webcam.snap() works on my end. My Webcam.set() and Webcam.attach() won'...
Joseph Miguel's user avatar
1 vote
1 answer
630 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 ...
Daniel's user avatar
  • 173
1 vote
0 answers
151 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: ...
John R's user avatar
  • 287
0 votes
1 answer
3k 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.
Swapnil Patil's user avatar
0 votes
2 answers
860 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 =...
Hari Priya's user avatar
1 vote
0 answers
161 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 ...
johnl5124's user avatar
0 votes
1 answer
1k 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 ! ...
eri's user avatar
  • 3,153
-4 votes
1 answer
72 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.
WreckitJeck's user avatar
1 vote
1 answer
1k 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 ...
Alexander Bogatko's user avatar
0 votes
0 answers
756 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 ...
Kneidl's user avatar
  • 1
1 vote
0 answers
677 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 ...
artiest's user avatar
  • 544
1 vote
1 answer
581 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 ...
IWOS's user avatar
  • 77
1 vote
1 answer
436 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 ...
Alejandro Arias's user avatar
0 votes
0 answers
467 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 ...
SA_Software's user avatar
1 vote
1 answer
1k 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. ...
Ajiroghene's user avatar
0 votes
2 answers
1k 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 ...
Sog t's user avatar
  • 137
0 votes
0 answers
255 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....
abduallah Azizi's user avatar
0 votes
2 answers
2k 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 ...
Mark's user avatar
  • 2,073
-1 votes
1 answer
308 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 ...
Dinesh Nayak's user avatar
0 votes
2 answers
81 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. ...
Nayeem Biswas's user avatar
2 votes
1 answer
2k 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 ...
tomdertech's user avatar
0 votes
1 answer
560 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 ...
SEJ's user avatar
  • 31
0 votes
1 answer
36 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"> <...
Kevin's user avatar
  • 169
0 votes
1 answer
7k 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... (...
J00k4's user avatar
  • 17
0 votes
1 answer
442 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 ...
user3355620's user avatar
1 vote
1 answer
1k 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 ...
gergalern's user avatar

1
2 3 4 5