Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 2088 articles
Browse latest View live
↧

Webcam image distorted

I am running a simple webcam check coding in python and this is the result![image description](/upfiles/15978026088489278.jpg) and after that python crash. The problem didnt occur before this but...

View Article


Connect several cameras openCV python

Hi, I want to connect to 30 cameras at the same time in my python program. If I execute 30 times a simple python script which connects to a rtsp camera and do .read(), I have no problem. But, if I...

View Article


Extract data from a scoreboard

Hi all, It's the first time that I use OpenCV and I need to understand if this is the right technology to do this thing. I want to extract some data from this scoreboard:...

View Article

Need to convert from python to cpp

mask = np.zeros(thresh.shape, dtype="uint8") (x, y, w, h) = cv2.boundingRect(c) cv2.rectangle(mask, (x, y), (x + w, y + h), 255, -1) minRect = mask.copy() sub = mask.copy() while cv2.countNonZero(sub)...

View Article

cv2.stereoCalibrate: objectPoints-error (-210:Unsupported format or...

Hey guys! I'm trying to get a disparity images from a stereo camera but I'm getting this error message in cv2.stereoCalibrate: error: OpenCV(3.4.2)...

View Article


import cv2 error on windows: missing configuration files

OpenCV = from master branch 7/10/20 Operating System / Platform => Windows 64 Bit Win10 Compiler => Visual Studio 2019 **problem:** I successfully built opencv in the latest cmake, and then built...

View Article

Finding corresponding pixel coordinate of a single point before and after...

Let's begin by saying that i have a static image, called it `leftFrame.` This frame is passed to method `cv2.remap(leftFrame, map1, map2, cv2.INTER_LANCZ0S4,0)`, so that every pixel from original...

View Article

Help geeting OpenCV to output a videostream using gstreamer.

List, I am having a problem running gstreamer pipeline from Python 3 via OpenCv. I do not know gstreamer very well although I am somewhat comfortable with opencv. My issues stem from my ignorance not...

View Article


Load and compare ground truth disparity maps with python

How to use readGT, computeBadPixelPercent, and computeMSE from cv2.ximgproc in Python?

View Article


Webcam generated image distorted and python stop working

import cv2 import sys faceCascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') video_capture = cv2.VideoCapture(0) img_counter = 0 while True: # Capture frame-by-frame ret, frame =...

View Article

How Can I use CUDA in Python for fastNlMeanDenosingColored?

Hello, I have compiled OpenCV 4.5.0-pre with CUDA and I would like to convert my cv2 code to CUDA code. I couldn't find a python CUDA tutorial on here but I have searched Q&A and it seems like I...

View Article

Help to choose an opencv module/method

Hi, I have gone a long way with tutorials and simple manipulations like 'blur', 'threshold', 'bitwise_and' with masks but I am just a monkey following along. When it comes to something new I cant even...

View Article

Where to find opencv_createsamples.exe in windows

Hi, I am new to opencv. I am using pycharm IDE to practice opencv using python. I have installed dlib, cmake and opencv-python in the IDE. Now, I am trying use haar cascade classifier to detect custom...

View Article


AttributeError: 'module' object has no attribute 'xfeatures2d'

what happen with `cv2.xfeatures2d.SIFT_create()` ?

View Article

world coordinates from object detection

I have stereo camera system and I am running a object detection agoritham in one of the camera. I get the centroids of each detected objects. My question is how to compute their world coordinates? Thanks.

View Article


OpenCV Video Masking

Is there a way to utilize this mask to view a region of interest of a video in python openCV? Mask: ![Image Mask](https://i.imgur.com/rYsOVo7.png) Video Frame: ![image...

View Article

OpenCV detector is missing, how can I get it?

I am just trying out qr codes for the first time, using Python3. I am following the instructions from this [webpage:](https://www.thepythoncode.com/article/generate-read-qr-code-python) When I get to...

View Article


Haar cascade detector with non-maxima suppression

Dear all, I know the Haar-cascade detectors are kind of old-fashioned and that it's challenging to train a cascade with good detection capacities. I still like it though because you can train on CPU...

View Article

Different ways to detect LED Screen from the image.

![raw_image](/upfiles/1600505810439373.png) I want to extract the LED screen from the image above. Some approaches that I have tried include: 1. I first converted the image to HSV and made a trackbar...

View Article

Foot Measurement [Python]

Hi Everyone, I have to find the length and the width of a foot placed on a A4 Sheet. First i tried with some object, like a business card or flyer then it works. I detect the contours of the A4 sheet...

View Article
Browsing all 2088 articles
Browse latest View live