On-screen object detection
Hello, I would like to ask if I can use OpenCV to detect objects on the screen not from a camera or something else. Just moving objects I see on my screen. Thank you for your time
View ArticleTypeError:'NoneType' object cannot be interpreted as an integer
**Can any one help me in resolving this issue:** for contour, hier in zip(itertools.repeat(contours, hierarchy)): TypeError: 'NoneType' object cannot be interpreted as an integer my code snippet: _,...
View Articleopencv hough trans.
Hi, I'm sezai. hough Trans using the opencv library in Python. I'm driving. My problem is that there are 6 coins in the image, and only I want to find these 6 circle, while other circles around it...
View ArticlefastNlMeansDenoising return assertion hn == 1 || hn == cn
Hello everyone Can you help me to understand what is wrong with my code: import numpy as np import cv2 # read a 16 bits per pixel image (CV_16U) I = cv2.imread('thermal.tiff',cv2.IMREAD_ANYDEPTH |...
View ArticlefastNlMeansDenoising return assertion hn == 1 || hn == cn
Hello everyone Can you help me to understand what is wrong with my code: import numpy as np import cv2 # read a 16 bits per pixel image (CV_16U) I = cv2.imread('thermal.tiff',cv2.IMREAD_ANYDEPTH |...
View ArticlefastNlMeansDenoising return assertion hn == 1 || hn == cn
Hello everyone Can you help me to understand what is wrong with my code: import numpy as np import cv2 # read a 16 bits per pixel image (CV_16U) I = cv2.imread('thermal.tiff',cv2.IMREAD_ANYDEPTH |...
View ArticlefastNlMeansDenoising return assertion hn == 1 || hn == cn
Hello everyone Can you help me to understand what is wrong with my code: import numpy as np import cv2 # read a 16 bits per pixel image (CV_16U) I = cv2.imread('thermal.tiff',cv2.IMREAD_ANYDEPTH |...
View ArticleCreate a grid over image without template matching
Hi all, I have this image:  I was wondering if there was an efficient way of using openCV to create a grid across the image such that the centre of...
View ArticleVideo capture lagging to intolerant extent while working with RTSP in python....
Hi, I am pretty new to FR and lately have been working on a project where, I need to use FaceNet to recognize faces. Everything works fine, except that when I try to capture the Video from an IP...
View ArticlePass Mat to Python Script ?
Hi, I am using OpenCV v2.4.13.6 with C++ in QT Creator. I am trying to pass an OpenCV Mat object to a Python script using Python interpreter. I need to convert the OpenCV Mat to a PyObject so that I...
View ArticleDepth map shows everything grey! OpenCV- Python
Hello! My code: import cv2 import numpy as np imgL = cv2.imread('Blender_Suzanne1.jpg') img1 = cv2.cvtColor(imgL, cv2.COLOR_BGR2GRAY) imgR = cv2.imread('Blender_Suzanne2.jpg') img2 = cv2.cvtColor(imgR,...
View ArticleHow to check if two following frames are identical ?
Hi, I'm using Python 3.5 and OpenCV 3.4.1. I just want to open a .avi video file and check if two frames in a row are identical in order to get the actual framerate of the game captured. I don't want...
View ArticleDifference in same operations between Python and C++ OpenCV Code
I've been working on BRISQUE IQA for Python and C++ for a while now. There is a set of code in the source code for C++ : Note: In the given code, orig_bw is the input image I've read using imread...
View ArticleHow do i automatically load a new image once i have closed the previous image...
I have a code which allows me to open an image from a folder, lets me draw and label the images and once i close the window, it will save the labeled image and the annotations in separate folders. Now...
View Articleopencv, Python hough transform labeling
Hi, I have detected circular areas using hough transform. I want to print labels to each detected apartment using cv2.putText. 
View ArticleCMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:266
Hello, i am trying to build OpenCV with the OpenCV-contrib modul. I am using a Mac (10.13.4) and my Cmake command is: I am using Clang 8.1 : > Apple LLVM version 8.1.0> (clang-802.0.42)...
View Articleunknown noise during capture for vein detection
Hello, I'm currently working in a project in that I have to do a vein detector using IR images, currently we have a problem with an unknown noise that appears in the images during the capture. I'm...
View ArticleHow to detect blob in noisy image?
Hello everybody, I need help in the detection of blobs in images like these:   ![image...
View ArticleGaussian Fitting an image in OpenCV
Hey! So the thing is, I am trying to plot a gaussian fit of an image in OpenCV using any existing functions if available. The sample inputs and outputs are: ![Gaussianity of Natural...
View ArticleOpencv LBPHFaceRecognizer Train data in Python
I am working on face recognition with LBPH algorithm and i need to save train data to database. recognizer = cv2.createLBPHFaceRecognizer() recognizer.train(images, np.array(labels)) i need to see...
View Article