Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 600 articles
Browse latest View live
↧

OpenCV for iOS development on Windows

I generally develop opencv-based applications on windows in c++ with VS and have done for a number of years. Recently I have been tasked with developing an iphone app that would require the opencv...

View Article


Plotting values from video frames

HI My question about plotting using cv::line , after doing some calculations , I'm getting double values for each video frame e.g : 0.3 0.288462 0.288462 0.289614 0.307465 0.20198 0.166522 0.16 0.24...

View Article


I want to capture video from webcam, but window disappears after capturing...

Hi. I'm trying to capture video from my webcam via OpenCV C++. The program works fine, but the window terminates after displaying just one frame. I've tried Python examples as well on my computer, and...

View Article

How to increase warpPerspective Or warpAffine precision?

I would like to transform my images with rotation degree of 0.001 degree, and translate them with 0.0001 pixel in row or column. The problem with this library is that it cannot manage this kind of...

View Article

Not able to visualize the image

From the following code, i am not able to visualize the image instead a blank window appears and also it gives a blank xml file. How to obtain a correct xml file? Need some help #include #include...

View Article


Trimap image use in OpenCV

Hello, I found The Oxford-IIIT Pet Dataset, which contains images of dogs and cats. For each image has a pixel level foreground-background segmentation (trimap) image. Searching the internet, I saw...

View Article

Training SVM Error

I am getting an exception error when running the code at the train_samples, is there something missing in the code or any error? #include #include #include #include #include...

View Article

How to centralise the contour of the object?

I have been able to find its COG, but how to centralise the contour of the hand? Here is my code: #include "opencv2\opencv.hpp" using namespace cv; int main() { Mat gray =...

View Article


Build OpenCV with OpenCL support

in CMake, I built OpenCV with OpenCL Enable ON(It automatically detected the `OPENCL_INCLUDE_DIR` path but the `OPENCL_LIBRARY` was empty, even after clicking config. for `OPENCL_LIBRARY` i don't see...

View Article


How to use GraphCutSeamFinder?

I'm new to opencv and I haven't found anything on the internet on how to use GraphCutSeamFinder. I am performing image stitching as a project and I have reached on finding a seam in the images after...

View Article

Build OpenCV with OpenCL support

in CMake, I built OpenCV with OpenCL Enable ON(It automatically detected the `OPENCL_INCLUDE_DIR` path but the `OPENCL_LIBRARY` was empty, even after clicking config. for `OPENCL_LIBRARY` i don't see...

View Article

Build taking hours on Raspberry Pi 3

Hi there, I'm following this guide. www dot pyimagesearch dot com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/ I am installing 3.2.0 with python3, instead of the 3.1.0 that he...

View Article

how can I set VideoCapture attributes with set?

I am trying to adjust the gain in a simple camera function void imgGet(){ cv::VideoCapture cap(0); double k=0.99; cap.set(CV_CAP_PROP_GAIN, k ); Mat frame; cap >> frame; string fileName =...

View Article


OpenCV K-Means "translation" in VLFeat

I've read of VLFeat, which has an implementation of the algorithm of k-mean, which is faster than that of OpenCV, but do not understand how to readjust this code to use VLFeat. Mat rawFeaturesData; //...

View Article

How to find frame per second of a dynamic movement?

Here is my code..i am able to extract frames, but how to extract the frames per second for a dynamic movement?? #include "opencv2/opencv.hpp" #include #include #include #include using namespace cv;...

View Article


send command with http

Hi, how can send a http command to ip camera ? i am going to send a command to camera after appear an event whit this command the camera go to preset....

View Article

Why is the first openCV API call so slow?

I am creating a mask from an image with the size: 2000x640, and I'm running this code on a modern powerfull laptop. I have made a function which is suppose to create binary mask from my input image,...

View Article


what might cause problems with openCV linking?

I followed some instructions for installing openCV3, the same ones I usually follow, and it would seem openCV3 is installed. but every program I write returns errors on compiling. The same programs...

View Article

How to calculate labels given centers of K-Means in OpenCV

Hello, I read this question about how to set initial centers of k-mean on [Stackoverflow](http://stackoverflow.com/questions/39803033/how-to-set-initial-centers-of-k-means-opencv-c). I read the...

View Article

How to detect obstacle in OenCV

Hi I want to detect obstacles in the video but I don't know how to recognize edge from the walls and from the obsatcle. Can somebody help me ?

View Article
Browsing all 600 articles
Browse latest View live