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

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 Article


How 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 Article


I 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 Article

solvePNP 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 Article

imdecode() 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 Article


HoughTransform 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 Article

FaceRecognizer 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 Article

Are 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 Article


Blob 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 Article


OpenCV4Android - 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 Article

debugging 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 Article

full 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 Article

cv::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 Article


svm->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 Article

OpenCV 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 Article


How to add more data to an already trained SVM?

I'm experimenting with the SVM shown as an example in the opencv docs.

View Article

How 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 Article


How 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 Article

Is 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 Article

Training 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
Browsing all 19555 articles
Browse latest View live


Latest Images

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