Questions tagged [usb-camera]
46 questions
9
votes
2 answers
How to build list of tasks for asyncio.gather in Python 3.8
Below I have attached a test program to demonstrate a problem I am having with asyncio.gather throwing a TypeError.
My objective: To make multiple concurrent asynchronous calls to capture camera images to files from an array of USB cameras attached…

mcgregor94086
- 1,467
- 3
- 11
- 22
6
votes
1 answer
Access an external USB camera from the webview in Android
I have a webview in my Android app. From the webview, I am able to access default camera on the phone. The following code works fine.
webview.setWebChromeClient(new WebChromeClient(){
// Need to accept permissions to use the camera
…

Vikas
- 4,263
- 1
- 34
- 39
4
votes
1 answer
How do I access my USB camera using OpenCV with python?
I am having trouble accessing my USB camera using OpenCV with python.
I get the following error message which I understand means no frame was captured?
error: OpenCV(3.4.1)…

pcam
- 41
- 1
- 1
- 2
3
votes
1 answer
How to decrease frame rate of USB webcam 2.0 using openCV python
I am working on ubuntu 16.04 and using a USB 2.0 webcam. I want to decrease the frame rate somehow since the project I'm working on requires face detection which really lags the video hence want to decrease the frame rate.
I've tried implementing…

Osama
- 55
- 1
- 4
3
votes
1 answer
Change bitrate of USB camera
I use ELP USB camera with h264-codec output.
Ffmpeg-command to take the video stream:
ffmpeg -i /dev/video1 -c:v copy output.ts
As result I have a video with 4Mb bitrate - this value is too high for my task.
There is the same situation when I use…

Nick Saw
- 457
- 4
- 15
2
votes
0 answers
How to use USB camera in Android CameraX
I am using Android cameraX with ImageAnalysis for face detection using ML-kit, But now I want to use USB camera instead of a front or back camera but cameraX provides only 2 options.
CameraSelector.LENS_FACING_BACK
CameraSelector.LENS_FACING_FRONT

Sejpalsinh Jadeja
- 315
- 2
- 22
2
votes
1 answer
Cv2 CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -1072873851
So I had a couple of programs from last year for opencv so I just wanted to try them but, Opencv detects remote cameras like, DroidCam but can't detect my usb connected camera which works just fine with the camera app on Windows. I tried entering…

QanBan
- 47
- 1
- 8
2
votes
0 answers
Why does v4l2src error message not propragate through pipeline that contains queue element?
I am trying to build a gstreamer pipeline that takes a video stream from h264 USB camera and does something with it (display it on screen, record it to a file, ect.). If an error occures in pipeline, I would like to print it out and terminate the…

Matej Jeglič
- 403
- 3
- 11
1
vote
1 answer
Can't open camera by index on Raspberry-pi4
So, i installed the official Raspberry-pi OS "Raspberry pi OS Lite 64" and installed OpenCV.
But when trying to call cv2.VideoCapture(1) an error appears (i have USB camera):
[ WARN:0@0.021 ] global /io/opencv/modules/videoio/src/cap_v4l.cpp (902)…

kostya
- 38
- 5
1
vote
0 answers
Emgucv Camera Capure, frame rate less then 1FPS
I am really new in programming and EemguCV and I am struggling with really basics and I hope you guys can help me out. I am writting a little program for my school to show differnt filters and Imageconverting methods.
I am trying to grab images from…

Mescalin
- 11
- 3
1
vote
2 answers
USB Camera Timeout/Busy in Long Term Operation
TLDR: USB Camera stops returning images with continued usage.
I am running a continuous application using Raspberry Pi4, Ubuntu, OpenCV where I am capturing an image once every 5 seconds and sending that to an API. I'm having an issue where I am…

Cody
- 11
- 2
1
vote
0 answers
How can I sniff ethernet iOS traffic
I have a USB camera that does work with iOS devices on a specific application made by the manufacturer. When connected, it creates an ethernet interface for which I'm always assigned the same IP address and then when launching the app the camera…

Lawris
- 965
- 2
- 9
- 21
1
vote
0 answers
Live streaming USB camera to AWS Kinesis-Video-Stream using 'PutMedia' API
I am using python to live stream USB camera directly to kinesis-video-stream.
While trying to implement 'PutMedia' API from aws (link), although I was able to upload a locally stored video referring to the following code here.
Here is my slightly…

h_grewal
- 13
- 4
1
vote
0 answers
capturing fps drops with lower resolution opencv
I have a USB camera that is able to record 60 fps. I am using openCV with simple python code on Windows to capture some videos however it is not going all smoothly!
My main problem is that, if I set the [width, height] properties to the maximum the…

wisdom
- 412
- 2
- 5
- 20
1
vote
1 answer
Using OpenCV to connect to USB camera
For some reason, my script fails to recognize the USB camera connected (MU500), it does, however, recognize and display my other camera which is an analog converted to USB camera. The below script is a portion of the GUI that runs and displays the…

James Blyth
- 11
- 2