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

Problem compiling OpenCV 2.4.13 with Cmake and MinGW

I got this problem when trying to compile opencv using Cmake and mingw. for Cmake: sourcecode is located in "C:\CPP Libraries\OpenCV-2.4.13\opencv\sources" where the binaries are goint to be build is...

View Article


Cropping a face and removing the background?

After some research I found that OpenCV is going to by my friend all my way through finishing this project. I want to crop a human's face from an image, remove the background and save the result. Since...

View Article


Giving error malloc(): memory corruption: and Segementation fault

Pose.h #ifndef POSE_H #define POSE_H #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/calib3d/calib3d.hpp"...

View Article

Using OpenCV's pca write and read for saving PCA data

I am using OpenCV's function for PCA analysis. I want to save and read back the PCA structure using the provided functions. The PCA analysis part is OK, and the function serializes the object to the...

View Article

OpenCV 2.4.13 imshow() slow on OS X 10.11.6 (Xcode/C++)

I'm trying to do a simple video playback using OpenCV on OS X 10.11.6, but the performance of imshow() is very bad. I'm getting around 1 fps out of the video, no matter the waitKey() parameter value....

View Article


OpenCV source make error: OpenCV/modules/features2d/src/matchers.cpp:47:23:...

Hi, Am using OpenCV3.1,Python2.7. At sudo make of opencv source cloned from git rep, below log excerpt: (Kindly guide. Thanks in advance). [ 77%] Building CXX object...

View Article

OpenCV FaceRec problem

Hey guys, I'm using OpenCV Version 3.1. I'm trying to use the LBPHFace Class (http://docs.opencv.org/trunk/df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html) But it seems that im doing something...

View Article

Is anyone know how to use opencv 3.1 in eclipse ide? (windows 64bit) ive...

Is anyone know how to use opencv 3.1 in eclipse ide? (windows 64bit) ive searching for days now and still cant figure out how. Ive tried this method...

View Article


How to detect vehicle in opencv 3.1? Im using C++

I used this code but it detects many objects in the video: using namespace cv; using namespace std; int main() { //global variables Mat frame; //current frame Mat back; Mat fore, fMOG2, fKNN; Mat...

View Article


Speed of filter2d vs. matchTemplate

For educational purposes I'm trying to understand following relation: I'm applying a blur kernel (32x32) on an image (500x667 Grayscale, 8 bit for a single channel) which takes approx. 107ms using...

View Article

Deskew Text with OpenCV and Python

Hello, i'm new with OpenCV and i want to deskew an image that have a skew text: ![image description](/upfiles/14743401695051453.jpg)First i read the image in GrayScale and Binarize it, then i try to...

View Article

Getting ORB descriptor values bit by bit

Hello! **Context:** I am re-implementing the kmeans algorithm into a kmajority algorithm for binary descriptors, like ORB, based on hamming distances, [inspired by this...

View Article

distance measurement from camera to object?

I am working on a project to localize a robot, where in I need to determine the distance of the object from the camera. I've done a lot of research regarding this, but its a little out of my scope. I...

View Article


Fatal signal 11 (SIGSEGV) in Android 6.0

**What I do:** 1.I Write the face detection in opencv c++ and call from android using wrapper. 2.I used android native camera and pass image(Mat) to the detection method(detection method is shown...

View Article

Accessing the Value for each Pixel of an Output Array of phase()

I want to make an Matrix which holds the Orientation value of each pixel in a image. I need it for methods I want to use on the source image later on. The Code I have for this at the moment looks like...

View Article


Locate Peaks in Orientation Histogramm

I try to find the Peaks of a Histogramm which was calculated from a Orientation Image which was created through phase(). The Code I use is from this...

View Article

OpenCV 3.1 (C++) - SVM.load() does not set var_count correctly

Okay, I have some training data with 35 variables, I trained an SVM classifier and saved it using: svm->save("trained-svm.xml") In another application, I was trying to load the classifier using the...

View Article


opnecv build fails on rpi3 with Ubuntu 16.04 and ENABLE_NEON=ON

Hello I try to build OpenCv on my Raspberry Pi 3 with Ubuntu 16.04. But when I try to build it with Arm Neon enabled **My cmake Command is this one:**> cmake -D CMAKE_BUILD_TYPE=RELEASE -D>...

View Article

How to convert SFML image to OpenCV Mat in c++?

Below code is used to convert an OpenCV Mat image into SFML image. How to convert SFML image back to Mat image? cv::Mat frameBGR, frameBGRA; sf::Image image; cv::cvtColor(frameBGR,frameRGBA,...

View Article

Mat::clone() issues

Hello, I am using a method for thinning an image. The method is beeing executed by a single thread. void applyThreadedThinning(Mat* input) { Mat output = input->clone(); ..... } I use MSVC 2015...

View Article
Browsing all 600 articles
Browse latest View live