Build opencv 3.1 with Visual Studio 2008
I'm trying to build Opencv 3.1 with Visual Studio 2008 but I get some errors as: - `stdint.h` not found - `__cpuidex` not defined - `data()` is not a member function of `std::vector` Is it possible...
View ArticleHow to use CLAHE in android?
ImageView img; Bitmap original, grayscale, histogram, resize, threshold; int fixedwidth = 480; int fixedheight = 800; Button btn_original, btn_grayscale, btn_histogram, btn_resize, btn_threshold; Mat...
View ArticleI get the error: segmentation error: (core dumped) when I try to run my C...
I use the following code for reading and displaying the image, and to display the data in the image: #include #include #include int main() { IplImage* image = cvLoadImage("lena.jpg",0); IplImage*...
View ArticlesolvePNP inconsistency when rotating markers on a plane
I'm implementing a 3d laser scanner based on a rotating table with aruco markers on it for camera pose estimation. Here is a sample captured camera frame, with the aruco markers detected: ![image...
View Articleimdecode() with any depth
Hi all, OpenCV documentation specifies that I can invoke imdecode() with the same flags that we use in imread(). However, I am required to pass a Mat object to imdecode(), and this Mat object has a...
View ArticleHoughTransform optimization
Hi, I am trying to optimize Probabilistic HoughTransform (HoughLinesP). I am currently using OpenCV 2.4.9. I need only to detect lines with certain angles so I want to limit the theta accumulator to...
View ArticleFaceRecognizer limitations?
Hello, I would like to use FaceRecognizer to distinguish between specific faces. Accuracy is important to me and I'm making use of eigenfaces as I think it might be the best for this task(?). So far,...
View ArticleAre there any details or procedures which should be pay attention to for...
I was trying to do a haar training, the process and related parameters are shown below, and **the process seems to be in an infinite loop.** I did some research and found that maybe I should stop the...
View ArticleBlob Tagging with ID's in OpenCv Python
0 down vote favorite I am currently making a python code for people headcounting with direction. I have used 'moments'method to gather the coordinates and eventually when it crosses a certain line...
View ArticleOpenCV4Android - calcCovarMatrix for image averages
So I have two RBG averages that I want to get a Mahalanobis distance for. The Mahalanobis function requires an inverse co-variance matrix. My question is how do I create a inverse co-variance matric...
View Articledebugging opencv python eclipse
I have installed cv2 via pip install cv2 for python2.7. I ran the example programs, for example capturing a video from the webcam etc. and it works fine. As far as I know, one needs the C++ libraries...
View Articlefull screen preview in javacv RecordActivity
I use the RecordActivity sample how to set initialize full screen with correct ratio and best resolution in any device and camera? I tested any typical solution for android, but non of them gave me...
View Articlecv::exeption ?????????
Hi please help me to solve this problem in open cv 3.1.0 i had implemented a gaborEnhancement filter and when i call this function it generate this exeption Unhandled exception at 0x00007FFF9B925BF8...
View Articlesvm->save() throws SEHException
I use the ff. code Mat data; Mat feature; hconcat(r_hist.reshape(1, 1), g_hist.reshape(1, 1), feature); //r_hist and g_hist are color histograms data.push_back(feature); int label = 1; Mat labelMat(1,...
View ArticleOpenCV 3.1 allocated 660meg while loading 5meg jpeg
Hello, Please help. I've got a docker image (Debian 8 64 bit inside) with OpenCV 3.1 and java application using it to load and manipulate images. While running docker on Windows (in Virtual Box) it...
View ArticleHow to add more data to an already trained SVM?
I'm experimenting with the SVM shown as an example in the opencv docs.
View ArticleHow can I compare an ideal projection with a real projection?
Hi, I'm trying to evaluate the accuracy of a projector. I mean, I want to compare an image with the ideal projection with an image with the real projection. What procedure should I follow using OpenCv?...
View ArticleHow to train correctly a cascade
Hi I've been triying of training a cascade in OpenCV to identify mouths using LBP. I cut the mouths of 10 images facial. The images look like as this: ![image...
View ArticleIs namedWindow implemented in the linux version ?
The window.cpp code in highgui for namedWindow ends up calling CV_NO_GUI_ERROR("cvNamedWindow"). CV_NO_GUI_ERROR outputs "The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or...
View ArticleTraining color histogram values to svm.
Complete newbie here. I am trying to make a classifier using OpenCV 3.0.0's SVM and Color histogram to classify a banana to unripe(more green than yellow peel), ripe(more yellow than green or brown...
View Article