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

To find the coordinates of corners detected by Harris corner detection

I have applied harris corner detection on the following image ![Input Image](/upfiles/15208690158801906.jpg) and obtained the result as ![Image after Harris corner...

View Article


how to solve cv2.face_LBPHFaceRecognizer object has no attribute 'load' ?

I used the attribute read() instead of load() to bring .yml file into my project. How con I create a recognizer with opencv 3.4.0 in python 3.6.4 64bit ?

View Article


Distances to surroundings in image

using a rotating robot and kinect depth data I am able to create a bw-image of the surroundings of my robot (black is free space, white are obstacles). The robot is looking for a tag and if not found...

View Article

How to add gloss to the lips using Opencv Python ?

Hi, I have identified the facial landmarks using dlib and have all the lips points. Now, I want to add gloss to the lips. How can I achieve it using Opencv Python? I am stuck since long, any help is...

View Article

Selecting various part of an image as forground using grabcut

I want to be able to select various part of an image as my foreground(probably with a rectangle) and color the background with any color of my choice. How do i go about this?

View Article


medianBlur from imgproc not working with python bindings?

Hi there, I don't really know if this is the right place to ask since I am using a windows 64 bit beta version of the openCV python bindings but here we go: When using a numpy array as source I get a...

View Article

About python version of ridge detection

After installing the opencv, I try use the ridge detection function https://docs.opencv.org/3.4.1/d4/d36/classcv_1_1ximgproc_1_1RidgeDetectionFilter.html#details It seems there is no attribute...

View Article

Finding relatively large objects in a cluttered background - Help needed

I am relatively a newbie to Computer Vision and am struggling with working on complex cluttered images.I need to find relatively large objects that are bigger than a certain threshold in a cluttered...

View Article


ImageMagick / OpenCV equivalent

Hi. Sorry for the noob question. I started a project with ImageMagick, and for performance reasons I'm trying to move it to OpenCV. I'm having a hard time to reproduce the exact same steps, and the...

View Article


Split an image into 2 parts based on a line

Hi, ![image description](/upfiles/15211224317573869.png) I am looking split an image into two parts. After doing some math in know the (x1, y1) of the top point and (x2, y2) of the bottom point. y1 =...

View Article

Coverting C++ to Python

I have the following OpenCV code in c++ and I would like to convert it to python. Do any of you know how to convert those lines to python. **Mainly the Vec3f* and vector** that are found at lines 13...

View Article

Convert Image to Occupancy Grid

I was wondering how I might turn a bird's eye view image of a map into an occupancy grid. I use an edge detection algorithm to detect obstacles in the bird's eye view image and would like to then...

View Article

[Python]Manipulating histogram values

Hi! Well, i'm fairly new to Python but i have some coding background on some other languages like C. I could have gone for C++ but i wanted to learn Python so here i am, treading on unknown territory...

View Article


Find Average Intensity of ROI

I was wondering how to find the average intensity of a gray scaled ROI. I currently use the code below, however when I try to print roi_gray_mean I get the output in the console ...... Below is my...

View Article

Compare two images and mark the unmatched object or remove unmatched

Hi, I want to compare two images and want to plot or remove the unmatched objects found. I was using ORB to find matches between two images, But how can I plot and show the unmatched one.

View Article


Returning Threshold Values

I am trying to return the average threshold value for a binary ROI, however, I keep on getting a weird output. My code is : import cv2 import numpy as np img =...

View Article

Detection of wounds

Hi, I have problem with my school project, I need to detect chronic wounds and I am lost, I do not know how... I studied lot of color models, but I did not find any that I can apply on all photos.. I...

View Article


Does OpenCV3.10 work with Axis FD216 Security Camera

Unable to stream video with AXIS FD216 IP Security Camera. Programming with OpenCV3.10 and Python3.5 Example – From my browser the following http://192.168.1.141/mjpg/video.mjpg brings up my...

View Article

how can I convert an image to grayscale without losing transparency?

I'm trying to convert an image to grayscale without losing any of it's transparency. This is my code: img = cv2.imread(some_path, 0) Original image: ![image description](/upfiles/15214121276406284.png)...

View Article

I have installed OpenCV for Python applications in Windows. I am able to...

I have installed OpenCV for Python applications in Windows. I am able to access OpenCV only from Administrator login. But not from USERS login. Request your help to access OpenCV from users login. I...

View Article
Browsing all 2088 articles
Browse latest View live