1 | initial version |
solved the problem, in real-time, i declared all the variables
and vector
and Mat
outside the loop. here is the correction.
`while (key != 27)
{
Mat frame;
cap >> frame;
if (framecount < 2)
{
framecount++;
continue;
}
Mat des_image, img_matches;
vector<KeyPoint> kp_image;
//vector<vector<DMatch>> matches;
vector<DMatch >matches;
vector<DMatch > good_matches;
vector<Point2f> obj;
vector<Point2f> scene;
vector<Point2f> scene_corners(4);
Mat H;
Mat image;`
2 | No.2 Revision |
solved the problem, in real-time, i declared all the variables
and vector
and Mat
outside the loop. here is the correction.
`while while (key != 27)
{
Mat frame;
cap >> frame;
if (framecount < 2)
{
framecount++;
continue;
}
Mat des_image, img_matches;
vector<KeyPoint> kp_image;
//vector<vector<DMatch>> matches;
vector<DMatch >matches;
vector<DMatch > good_matches;
vector<Point2f> obj;
vector<Point2f> scene;
vector<Point2f> scene_corners(4);
Mat H;
Mat image;`
image;
3 | No.3 Revision |
solved the problem, in real-time, i declared all the variables
and vector
and Mat
outside the loop. here is the correction.
while `while (key != 27)
{
Mat frame;
cap >> frame;
if (framecount < 2)
{
framecount++;
continue;
}
Mat des_image, img_matches;
vector<KeyPoint> kp_image;
//vector<vector<DMatch>> matches;
vector<DMatch >matches;
vector<DMatch > good_matches;
vector<Point2f> obj;
vector<Point2f> scene;
vector<Point2f> scene_corners(4);
Mat H;
Mat image;
image;`
4 | No.4 Revision |
solved the problem, in real-time, i declared all the variables
and vector
and Mat
outside the loop. here is the correction.
`while (key != 27)
{
Mat frame;
cap >> frame;
if (framecount < 2)
{
framecount++;
continue;
}
Mat des_image, img_matches;
vector<KeyPoint> kp_image;
//vector<vector<DMatch>> matches;
vector<DMatch >matches;
vector<DMatch > good_matches;
vector<Point2f> obj;
vector<Point2f> scene;
vector<Point2f> scene_corners(4);
Mat H;
Mat image;`