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

Draw irregular shape plane on Image in opencv

I want to draw irregular shape plane passing through 4-10 points. This points are making closed loop area so that I can calculate area covered by this points. e.x. I have 6 points, I joined then by...

View Article


Dewarp images taken using digital camera

I want to dewarp slightly cylindrical documents photographed with digital camera (like as in android devices). Is there any opencv algorithm to do the job. I have gone through some research papers...

View Article


OpenCV3 Assertion failed on accumulateWeighted

I try to make average background but something wrong because it way to crash app ` include "opencv2/opencv.hpp" using namespace std; using namespace cv; int main(int argc, char *argv[]) { VideoCapture...

View Article

Draw polygon on 3d using opencv/C++/CGAL

Hi, I want to draw polygon in 3D surface. Here I have two separated circle and I want to join their outer surface so that it be polygon. anyone please help me. thanks in advance. I am little bit...

View Article

how we do camera calibration using chessboards in opencv 2.4.10 ?

I am using opencv 2.4.10 . To calibrate with camera some of my guides told me to follow camera calibration with opencv . but how we do camera calibration with opencv 2.4.10 and how we include settings...

View Article


I want to know how to apply phase correlation with difference size image.

![image description](/upfiles/14674178998158839.jpg) I want to apply phase correlation in this picture which size is totally different. Actually, my final goal is like this![image...

View Article

Meanshift is not an option in android native development.

I'm trying to develop an app that uses meanshift to track an object. I got the code working in python and decided to integrate it into the android app instead of sending the data to a server for...

View Article

Error in multiple object template matching

Hi. i'm looking for the way to find unit cell in image. First i read Image like this. and I drag in image like this. ![image...

View Article


c++ to java

I found source code in c++ std::vector< std::vector> allContours; how do I make it in java ?

View Article


Error KAZE OpenCV 3.1.0

I tried to compile a function for extracting the features. `Ptr kaze = KAZE::create();` But I get an errors with that. First is "Use of undeclared identifier 'KAZE'" The next line is...

View Article

How to eliminate pixels with large separation

I applied a k_means to some image, divided it into 5 regions, according to the colour. Then for each region, I apply k-means again, with the pixels' coordinate as input, divide each region in to two...

View Article

Android text detection/recognition

I am trying to do text detection on Android using OpenCV4Android 3.1.0, but I can't seem to find the "text" module and the only example is in C++. I'm assuming the text module is still experimental and...

View Article

OpenCv - Debug assertion failed - lkdemo()

I am trying to execute "Lukas-Kanade optical flow lkdemo()" program in visual studio 2015, I can't able to trace the error in the code #include #include #include using namespace cv; using namespace...

View Article


Remapping contours (vectors of points) with maps from camera calibration...

Hello there, I have some contours (multiple std::vector of cv::Point) that I get using...

View Article

Plotting graph in opencv

I wonder that is there any plot function in opencv? Somebody told me that it;s gonna pretty hard to plot in opencv ![image description](/upfiles/14680242805558293.png) This is picture what i want to...

View Article


C/C++ client server bind

Hi, I've successfully added openCV to my project and i wanted to implement client-server system. The socket function doesn't throw an error but the bind method does if(bind(sockfd, (struct sockaddr *)...

View Article

Why does it takes so long to capture the frames and store them in memory?

So, I'm writting a program that loads a video in memory to determine if it's unstabilized. I realized the program was taking way too long to execute, so I put a timer on my code: const clock_t begin =...

View Article


How to extract relevant features to detect object?

Hi I would like to detect the object (airplane door) from short distance. The algorithm should be very robust so can be implemented by any plane (with lots of different paintings, logos ) and by any...

View Article

mulSpectrums

what is the result of mulSpectrums? if input A = a+bi input B = c+di mulSpectrums(A, B, result, CV_DXT_MUL_CONJ, true) then, result = (a+bi)*(c-di)?? or just result = bi*(-ci)?? Also what type of...

View Article

Vec2f , mulSpectrums

i got the answer about mulSpectrum like this. Mat z1(1,2,CV_32FC2),z2(1,2,CV_32FC2),z3; z1.at(0, 0) = Vec2f(1,1);//1+i z1.at(0, 1) = Vec2f(2,3);//2+3i z2.at(0, 0) = Vec2f(2,1);//2+i z2.at(0, 1) =...

View Article
Browsing all 600 articles
Browse latest View live