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 ArticleOpenCV 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 ArticleCan 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 ArticleHow 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 Articledifference 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 ArticleRemove 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 Articlemask 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 Articlemake 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 ArticleDetecting 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 ArticleBad 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. (/upfiles/15514067483924779.png)  I have installed all requirement files for opencv for pycharm....
View ArticleOpenCV 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