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

python: "read out" the contrast of a JPG image

Hello, I'm new to OpenCV, short to the problem: I have an object in which a JPG image is stored to be more specific a slide with black text and white background now I would like to show if there is...

View Article


OpenCV 4.0.1 Cmake Windows does not configure correctly

I am trying to build OpenCV on Win10 with VC15 x64 and Python 3.6 bindings. Python resides in an Anaconda env with Anaconda using Python 3.7 as a base. This in my output: General configuration for...

View Article


Can we create our own haar-cascade file for multi-view face detection

Multi-view face detection means human face in any angle ranging from -90 to 90 degrees as shown in the image image link: http://what-when-how.com/wp-content/uploads/2012/06/tmp35b0435_thumb22.png

View Article

How to identify if an object is placed correctly in a groove or not

I am trying to identify if an object (busbar in this case) is placed correctly in the groove of a mould or not. Please see the image for clarity. The object circled in red is incorrectly placed,...

View Article

difference in translation from python to C++

Hello I am facing hard time to undestand the difference between two algorithm that I wrote. I following code in python: import cv2 import numpy as np from scipy.stats import iqr def pfs(I): if I.ndim...

View Article


Remove white noise between white horizontal line

I currently have an image with white horizontal lines. between those lines, there is some noise that I would like to remove. I've already done Morphological Opening on the original image and the...

View Article

mask green HSV value from HSV image

I currently have converted the BGR image to an HSV one. Unfortunately, I'm not able to mask the green HSV from my image with this code: hsv = cv.cvtColor(original_image, cv.COLOR_BGR2HSV) green_min =...

View Article

make edges clearer in image

I'm currently preprocessing a few images before I can use them for edge detection and I need to make the edges more clear so that the edge algorithm (Canny and Hough) can find them more easily without...

View Article


Detecting bright spots and locating the center of the bright spot

Hello Everyone Good Day! i am now kind of stuck on how to proceed as my aim for my project is to achieve the locating of the bright spots from different altitude which is as displayed in image5.png,...

View Article


Bad results with calibration over multiple Images in Python

I'm currently working in a Project to calibrate cameras over multiple Images. I have images of solarpowercells and my job is to correct the perspective and lens distortion of the image. ![example of...

View Article

OpenCV Python video freezes when circle is not in frame

I am using cap = cv2.VideoCapture(0) and will eventually be inserting a video stream link for my video. if circles is not None: # convert the (x, y) coordinates and radius of the circles to integers...

View Article

Detection of Foot in video

Hi, I am looking for a help with video detection. I would like to detect a player foot when his foot touches the ground. Could you please support me? Thank you in advance.

View Article

Replacing the Background of an image?

As I wanted to Remove the background with some specific colors using python. And written some lines of codes but facing with a error. Not getting how it can be resolved? kindly please check the code i...

View Article


waitkey fails to handle non-English keyboard input

I am using opencv to build a camera function and at some point in the Python script, it uses `waitKey()` to get what key is pressed by the user. k = cv2.waitKey(1) # ESC is pressed if k % 256 == 27:...

View Article

changing my python code to c++?

def subalg_fun(self): cap = cv2.VideoCapture(1) time.sleep(2) _, first_frame = cap.read() first_gray = cv2.cvtColor(first_frame, cv2.COLOR_BGR2GRAY) first_gray = cv2.GaussianBlur(first_gray, (5, 5),...

View Article


Building custom wheels

### Question Is there any way I can build custom python wheels for opencv? ### What I have Two docker images for arm architecture that build opencv with python support. First one installs opencv in...

View Article

Output of blobFromImage function

I am using cv2.blobFromImage function to pre-process the image before feeding to a dnn for face detection. I tried to display the output of this function. What I am getting is multiple images (9...

View Article


Installation Issues

Hello, I'm using rasbian to work on a project for school and cannot get the installation correct. I've been at it for a week and I'm relatively new to compiling source. I've tried "pip install...

View Article

Pycharm couldn'y load DLL file

![image description](/upfiles/15514067579490483.png)(/upfiles/15514067483924779.png) ![image description](/upfiles/1551406772366221.png) I have installed all requirement files for opencv for pycharm....

View Article

OpenCV opening video stream crash

I am streaming video from a Raspberry Pi Zero to my windows PC running an OpenCV program. The devices are on the same wifi and running python. However, the video opens up for a few seconds and then...

View Article
Browsing all 2088 articles
Browse latest View live