Ask Your Question

QuangAnh94's profile - activity

2015-06-23 09:08:23 -0600 commented question can't use findhomography

thanks you :D

2015-06-23 08:44:32 -0600 commented question can't use findhomography

I convert image to vector but error too:

vector<point> b1;
I1.copyTo(b1);

2015-06-23 08:39:53 -0600 commented question can't use findhomography

can you help me convert it to vector, thanks

2015-06-23 08:04:09 -0600 commented question can't use findhomography

although i fix it but it doesn't run I1=imread("D:\detect\box.png"); I2=imread("D:\detect\box_in_scene.png");

2015-06-23 07:48:55 -0600 asked a question can't use findhomography

Hello, I'm have code use findhomography function. It can compile but when i run it have error my code:

and my error image description

Please help me. Sorry because my English not good The best is give me a video to use it, thanks.

#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/features2d/features2d.hpp"
#include <iostream>
using namespace std;
using namespace cv;

int main()
{
  Mat I1,I2,I3;
  I1=imread("D:\detect\box.png");
  I2=imread("D:\detect\box_in_scene.png");
  I3=findHomography(I1,I2,CV_RANSAC,2);
  system("PAUSE");
  return 1; 
}