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

How to Get Rect from point

Hi I'm using function `Point detectFace(Mat frame, Point priorCenter) ` to detect face in a video frame the function gives a Mat object contains detected face , [function link...

View Article


How to do Delaunay Triangulation and return an adjacency matrix?

I am trying to do Delaunay Triangulation for a set of points in OpenCV, but encountered a problem. The function takes a matrix of coordinates and return an adjacency matrix. (If there is and edge...

View Article


Finger count and convexity defects providing wrong value

I have retrieved convexity defects and after referring to some questions asked here, I figured out that Convexity defect contains data in 4s, i.e., [startIndex, endIndex, farthestPoint, depth]. So I...

View Article

extracting Magnitude and angle from flowfeature

1)I wanted to get all the pixels with some motion and wanted to store the position and angle in some data structure(Which data structure to use and how?). Could anyone help me how I could do it....

View Article

Is it possible to correct for changing exposure/contrast etc in images?

I am trying to do feature detection and matching between two cameras for my application. Feature matching works perfectly when the cameras are closer to each other, but when the positions change such...

View Article


Extracting only blue from given image

Hi Guys I Have an input image as ![image description](/upfiles/14555562032060474.jpg) I Have used the following code to brighten blue import cv2 import numpy as np Image = cv2.imread('blue.jpg')...

View Article

Difference between thresholding function

Hi Guys I have two set of codes for thresholding > Code 1 import cv2 import numpy as np Image = cv2.imread('blue.jpg') Threshold = np.zeros(Image.shape, np.uint8) cv2.threshold(Image, 121, 255,...

View Article

Freeing Ram by deleting image matrix

I have a simple code import cv2 import numpy as np Image = cv2.imread('blue.jpg') Threshold = np.zeros(Image.shape, np.uint8) cv2.threshold(Image, 121, 255, cv2.THRESH_BINARY, Threshold)...

View Article


Open 16 bit video file (proprietary format) with OpenCV

I would very much like to import in OpenCV a video file which is in a proprietary format - from a Xenics-Gobi infrared camera - file extension *.xvi. The file is a 16 bit video format and with the...

View Article


Matrix subtraction normalization

Hello everyone. Recently i had to implement an algorithm to subtract an image from this same image blurred. I first tried to: Mat img = imread("some_image"); GaussianBlur(img, blurred, Size(7, 7), 0,...

View Article

Q matrix used in reprojectImageTo3D

If you look at Q matrix used in reprojectImageTo3D (we consider first image as main image here) function in openCV you can see that focal length of the first camera is used. My question is what matrix...

View Article

gradient orientation for 0-180 histogram bins in opencv 2.4.9 visual studio 2013

I am trying to develop a facial emotion system using OpenCV 2.4.9 and C++ in Visual Studio 2013. I need to extract shape based facial features using pyramid HOG, i used cv::phase() for gradient...

View Article

cuda::Stream in v3 (CudaMem, Stream::enqueUpload())

I am trying to rewrite some CPU algorithm in OpenCV-3.1 Cuda with streams. I've figured out that API changed. I've looked at the docs, samples directory and I've googled for it. No answer. It seams...

View Article


CvTracks undeclared in class

class ImageProcessing //user defined class { Public: void checkzone(CvTracks::const_iterator ot, double position1); . . . }; When I compile, compiler is throwing 1) error: 'CvTracks' has not been...

View Article

OpenCV on older Linux

Hey all, I need to build OpenCV 3.1 on an older Linux machine, specifically Red Hat Enterprise Linux 6.7 (RHEL 6.7). Is this possible? I will need the C interface of OpenCV only (no Python). If this...

View Article


How do you smoothly play through a variable-frame-rate WMV?

When I open up a Video Capture of a few of my .wmv videos, the fps will come out as "-nan" (not a number). I'm presuming this means that this video uses a variable frame rate. I'm trying to calculate...

View Article

How to refine foreground image?

I work with background subtraction using MOG2 method & obtained as the foreground image below: ![image description](/upfiles/14555948498929599.png) As shows above, I fail to get exact pixel as the...

View Article


Help with the basics

I'm really new to Open CV and could really use some guidance. I'm not even able to load an image to open cv, I'm using python.

View Article

Tracking Lucas Kanade

Hi Developers, I using calcOpticalFlowPyrLK, I already have the previous and following points, I to keep track of the object have the following points. the following points the rest with dots of...

View Article

Is this product a rip-off?

This entails cleaning the face morning and night time, Dermavie then moisturizing afterwards, and utilizing a sunblock during the day. The reputable internet website suggests that DermaVie be used...

View Article
Browsing all 41027 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>