webcam

How to change the resolution of PS5 camera in OpenCV?

How to change the resolution of PS5 camera in OpenCV? Question: I am trying to change the resolution of PS5 camera in OpenCV, Python. The problem is that PS5 Camera officially isn’t supported on PC, and I have to use custom camera drivers from GitHub: https://github.com/Hackinside/PS5_camera_files Default image resolution by this code is 640×376 self.capture …

Total answers: 2

OpenCV: "[ WARN:0] terminating async callback" when attempting to take a picture

OpenCV: "[ WARN:0] terminating async callback" when attempting to take a picture Question: I am trying to take a picture from the defualt carmera with python, to do this I am using openCV (import cv2 as cv from python shell). However, when I attempt to disable the camera it closes but with the error [ …

Total answers: 9

OpenCV webcam image broken

OpenCV webcam image broken Question: I wrote a script in Python3 and OpenCV 3.1 for timelapse photos on Odroid C1: Unfortunately sometimes images from the webcam are messed up: Here’s are some example photographs. And here’s the source code: import numpy as np import cv2 import time import datetime import sys cap = cv2.VideoCapture(0) # …

Total answers: 3

Capturing a single image from my webcam in Java or Python

Capturing a single image from my webcam in Java or Python Question: I want to capture a single image from my webcam and save it to disk. I want to do this in Java or Python (preferably Java). I want something that will work on both 64-bit Win7 and 32-bit Linux. EDIT: I use Python …

Total answers: 7

Displaying a webcam feed using OpenCV and Python

Displaying a webcam feed using OpenCV and Python Question: I have been trying to create a simple program with Python which uses OpenCV to get a video feed from my webcam and display it on the screen. I know I am partly there because the window is created and the light on my webcam flicks …

Total answers: 6

How do I access my webcam in Python?

How do I access my webcam in Python? Question: I would like to access my webcam from Python. I tried using the VideoCapture extension (tutorial), but that didn’t work very well for me, I had to work around some problems such as it’s a bit slow with resolutions >320×230, and sometimes it returns None for …

Total answers: 2