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

Preventing Over-fitting

I'm using `cv::Boost` to learn small image patches (`Boost::DISCRETE` currently gives me the best results). I noticed that the more example images that I have in my training set, the larger the...

View Article


May I ask why I get the wrong answer about rgb2luv

I use python. Today I try to convert an image(rgb) to luv. The [Doc](http://docs.opencv.org/2.4/modules/imgproc/doc/miscellaneous_transformations.html#cvtcolor) However , I am confused with the...

View Article


Does accumulate() in OpenCV 3.0.0 support the 3d Mat?

Hi, guys. I migrate opencv 3.0.0 recently. After the migration, the accumulate() in the following line throw an exception. > int sizes[] = {1, 512, 1024};> cv::Mat mat1(3, sizes, CV_32F,...

View Article

Informative websites related to OpenCV

i think it will be useful if we add links of informative websites related to OpenCV here. Lets create a list together. **recently added to list:** http://rodrigob.github.io/...

View Article

Where can I find the computational complexity of the algorithms?

Hi, I wanted to know if there is a place where I can find the computational complexity (Big-O notation) of the algorithms implemented in opencv? In particular the methods used for [template...

View Article


error when trying to run cpp-tutorial-pnp_detection

Hello, I'm trying to run this tutorial: http://docs.opencv.org/3.0-beta/doc/tutorials/calib3d/real_time_pose/real_time_pose.html#realtimeposeestimation with OpenCV 3.0 and I get the following error:...

View Article

BRIEF descriptors in OpenCV 3

I'm having trouble migrating BRIEF feature extraction to OpenCV 3. I have followed the transition guide from http://docs.opencv.org/master/db/dfa/tutorial_transition_guide.html#gsc.tab=0 to compile the...

View Article

Converting Mat to IPLimage in Java / opencv

Is there any way to covert a Mat to an IPLimage in java or opencv??? Trying to implement Flandmark in Java, but i need to change the saved image to iplimage to do this. Thanks, for (Rect rect :...

View Article


OCR failing on "easy" image

Hello, I'm using EmguCV to be able to use openCV on .NET, I tried to ask them about this bug, but they said that it's probably something with OpenCv I'm trying to get some numbers from an image, and to...

View Article


pose invariant face detection - can this be done?

Is the pose invariant face detection achievable in OpenCV? How one would approach this problem?

View Article

Stitching 2 image with findHomography

Hi, i have troubles to stitching two image using findHomography and warpPerspective, my code is the next one: Mat H = findHomography(obj, scene, CV_RANSAC); Mat warpImage2; warpPerspective(im2,...

View Article

cap.read() returns false

For some reason, VideoCapture can open a video but then can't read it. cap.read() keeps returning false. When I take VideoCapture from the webcam, there is no issue. I'm using the master branch with...

View Article

How to filter the keypoints in the SIFT and SURF methods

Anyone know how to filter the key points in the sift and surf methods, for evite to generate errors in the homography matrix.

View Article


Why the opencv giving this error when multiple clients are connected in java?

This is the Server side code which accepts multiple clients. class Server extends Thread{ @Override public void run(){ UserArrayList=new ArrayList(); try { Server=new ServerSocket(1013); while (true) {...

View Article

Headtracking while user is wearing HMD

Working on a VR project where it is necessary to get data about the user's body via a second, external, stationary webcam. Specifically, I'm looking to track chest-movements for breathing. It seems...

View Article


How to obtain Alpha from cv::mat (For wxWidgets::wxImage)

The following code is not the entire block of code , instead it is the important pieces needed to get my question across. In short: I am asking how to receive the Alpha data from CV::Mat so that I may...

View Article

Detecting objects in OpenCV

I've got problem with detecting orange ball in OpenCV. In the pictures you see results after function inRange and the second one is thresholding (which is now not in the code). In both ways HoughCirles...

View Article


Template Matching is wrong with specific Reference image

Until now I have always gotten reasonable results withc matching score, Im using "Imgproc.TM_CCOEFF_NORMED" method for template matching below are the results. Reference image: ![image...

View Article

What is the best practise for passing cv::Mats around

Hello all, I've been working on a project for a while not realizing I've been creating a lot of memory leaks as I had not run the program for long enough until recently. It's a fairly large program, so...

View Article

Knn Classification using Java

Hi, I'm trying to implement a toy example using knn classification techniques in Java. //Here I create my training data Mat trainData = new Mat(new Size(4,6), CvType.CV_32F); for(int i =0; i

View Article
Browsing all 41027 articles
Browse latest View live


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