Determine a piece of image is in large image, if there - how much Percentage
I am trying to find a piece of image in large image. I used template matching it always give coordinate if image is there or not there. I want to find the percentage occurrence of piece of image in...
View ArticleError while running code in visual studio 2010
I am a beginner in opencv. While I try to run my simple code to open an image an error occurs saying MSVCP110D.dll is missing. The project builds without an error, but throws an error while running the...
View ArticleCMAKE failing to set SSE2 in VS build
The first time I installed OpenCV 3.0 I did not set the check boxes for SSE2 etc., so I ran CMAKE again and checked them, after generating without errors, and SSE2 set, I loaded the project into...
View ArticleHow to detect keypoints, compute descriptors and match those descriptors in...
I have seen the documentation of OpenCV. In there, SurfFeatureDetector, SurfDescriptorExtractor and BruteForceMatcher are being used. But when I try in my code, it is showing - Error : identifier...
View ArticleMAT is empty after doing rotate the image
Hi All i had developed the following function to rotate an image with specified angle void rotate(InputArray _src, OutputArray _dst, double angle,bool bKeepOldSize = false) { Mat src = _src.getMat();...
View Articlehow to improve my code for calcOpticalFlowPyrLK ?
hi im developing code for a moving camera that captures images and computes optical flow every time the camera moves a certain distance. the second frame in the current time instant becomes the first...
View ArticleDetecting circles/ellipse/whatever in an image
I need to detect the amount of dots/circles/ellipse as I said in the title. The quality of the image is as shown below (the circles aren't that round either which makes it hard on HoughCircles to...
View ArticleCreating a dataset
Hello guys, I'm learning how to train the cascade classifier for object detection, I have sample project I trained from a car dataset and it works ok. Now I would like to create my own classifier to...
View Articlecannot declare field 'std::pair::second' to be of abstract type 'cv::ml::SVM'
hey everybody, i am really new to openCV and i am trying to implement a surf detector using openCV 3.1 and i getting always after building my project in eclipse the error message above. There are a...
View ArticleEntry point not found
 when i run c++ project that time i get this error. i am using windows 8.1 visual studio 8 opencv 3.0.0
View ArticleBuild problem: libz.a(gzlib.o): relocation R_X86_64_32S against `.rodata'...
I am trying to `cmake` the source cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D INSTALL_C_EXAMPLES=OFF \ -D INSTALL_PYTHON_EXAMPLES=ON \ -D BUILD_EXAMPLES=ON .. and I am...
View ArticlePull request build failed with Git error, how to resolve?
I created a pull request ( https://github.com/Itseez/opencv/pull/6214 ) and submitted it. The buildbot did a build and all passed except Win 7 64 bit (...
View Articletraincascade.exe error:Train dataset for temp stage can not be filled.Branch...
I do use traincascade in the opencv training LBP features to produce a classifier, in the training process, there are the following errors:  My...
View ArticleCan't get > 10 FPS (Java)
Hey all, I've been working on building a Java application using OpenCV that grabs data from the webcam and records it. However, I've been unable to achieve frame rates greater than 10 FPS (Intel...
View ArticlefindContours - OpenCV 2.4.5, Heap Corruption
I have read this happening on different questions here, but no answer worked so far, so this is my code: cv::Mat* CVMatFromUC(unsigned char* input, int width, int height) { cv::Mat* resultMat = new...
View ArticleOpenCV 3.1 HAL int64 / interface.h
Hi everyone, hopefully I'm right here. I think I've found a bug in the opencv2/core/hal/interface.h In the header file above, some typedefs for the std integral types are defined, which could cause...
View ArticleWhat is the best way to stock data on android apps?
I am a beginner on android developpment,i should developpe an application that works without connection .What's the best form of data that i should use( json,sqlite or Firebase)?
View ArticleImage data cannot convert to float
The error is for the following line in the code:- plt.imshow(img3), plt.show() Please find the attachments. One of the two attachments contains the source code, whereas the second contains the...
View ArticleOpenCV's findEssentialMat() API doc seems to be wrong
I'm studying essential matrix and fundamental matrix and notice that the formula on OpenCV's site does not confirm to what I learnt elsewhere. It says '[p2;1] (K^T) E(K) [p1;1] = 0' but wouldn't it be...
View ArticleBlurring non-rectangular region of an image, then downsample whole image
Hello, I am using OpenCV3 to blur and downsample an image, I just want to blur the region inside the area defined by a binary mask like: [![enter image description here][1]][1] After that region is...
View Article