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

Failing to lock exposure on Logitech C270

Hi all, Go easy on me I'm from the python world and only recently started needing to compile outside of the Arduino IDE! I'm trying to lock the auto exposure. I've found & modified a simple python...

View Article


Detect Closed loop through from the image

Hi, I am trying to detect the closed loop within the attached images and mentioned below code I am able to draw contours of closed loop and I need to detect the closed-loop contour Image 1 Without any...

View Article


Implementing cvtColor

I need to convert RGB to LAB color space and this operation needs to be done parallelly for all pixels. The main issue is that I couldn't find a proper implementation from OpenCV's code. After trying...

View Article

What astype(np.uint8) means?

Hi, I'm newbie trying to learn openCV by myself. I can searcy astype(np.uint8) is expressing sth from 0 to 255.(2**8) At the first time, I thought it means its grayscale. But I got confused after this...

View Article

Error while running converted .h5 to .pb graph with OpenCV's dnn module

I have converted a custom trained keras model's .h5 file to .pb file. I have been trying to run the model using OpenCV's dnn module. But I am getting following mentioned error while inferencing.>...

View Article


Cannot get correct translation and rotation matrix in opencv python

I have been trying this for two days and for some reason I cannot get it to work. I have two cameras with different intrinsic camera matrices, they are setup with global coordinates in blender Camera...

View Article

Can't Decode Webp

I can open webp from file, but I can't get the following test code to decode the webp encoded format in memory on Python. I'd appreciate any pointer. img = cv2.imread(file) retval, buf =...

View Article

Motion History Image

I would like to create motion history image with Python and OpenCV. I use following function : cv2.motempl.updateMotionHistory My video has 6 seconds and 144 frames for examples. I would like to see...

View Article


I want to a dense feature matching in two images. Is there openCV function...

I can see there are implementations of feature descriptors like SIFT, SURF in OpenCV but they extract sparse key points on the images. I want to do a dense feature matching in two images. My approach:...

View Article


How to optimize frame grabbing from video stream in OpenCV?

Hello everyone, I ran into a problem problem of low frame capture efficiency in OpenCV. **Hardware & Software.** - Raspberry Pi 3 (1,2 GHz quad-core ARM) with HDMI Display - IP camera: LAN...

View Article

Python : Running two process at the same time

I am trying to develop a python code which I could control the image displayed via a menu. (to demo my algorithms ) So I start the program 1: it opens a new window and shows the camera output 2: I...

View Article

Python Errors and Built-in Exceptions

When writing a program, we, more often than not, will encounter errors. Error caused by not following the proper structure (syntax) of the language is called syntax error or parsing error....

View Article

How to recognize outdoor objects from different angles

Hi, I'd like to get my wheeled robot with it's vision system to be able to identify various objects that are located in an out-door car park. The objects are things like ... a door...a window ......

View Article


Python Open CV Homography giving unexpected results. Pleaase suggest what...

Hi! I am doing homography in Python and am not getting expected Output. I am getting differen matrix Here is my code's Google Colab link:-...

View Article

Can i use sift/ surf features in python for my project, if yes how?

I tried opencv-contrib , but it still not works. What i need to do to get the access of surf and sift features i am getting error like this when i tried to use surf and sift featues surf =...

View Article


Draw difference in countours using reference images

Hi, I am trying to draw contours from the difference which I have got by comparing 2 reference images but somehow I am not able to draw that difference using draw contours Any suggestion will be very...

View Article

python cv2.drawContours function is not drawing contours. I don't have any...

import numpy as np import cv2 image = cv2.imread('E:\\DOWNLOADS\\Computer Vision\\misc\\house.jpg') orig_image = image.copy() cv2.imshow('Original Image', orig_image) cv2.waitKey(0) # Grayscale and...

View Article


Open videofile with using opencv and gstreamer

I began to study opencv. Open with opencv a videofile so easy. But I do not understand how you can open the file using the gsteamer. I read the documentation. As written in the documentation,must do...

View Article

Python, when making a video it seems to ignore the set FPS

I have the following code, which it just created a video of a set length recorded from a camera (USB camera connected to the computer):...

View Article

Play 360° video with openCV

Hi, is there a way to play 360° video that have Equirectangular Projection with openCV in python? When searching i couldn't find anything related with openCV and 360° video playing. Just to be clear i...

View Article
Browsing all 2088 articles
Browse latest View live