Ask Your Question

Anubhav's profile - activity

2015-05-13 06:49:37 -0600 asked a question AKAZE Giving Error

AKAZE is giving errors. Please help.

This is the code that I used ->

#include <opencv2\opencv.hpp>
#include <opencv2\features2d.hpp>
#include <iostream>
#include <opencv2\opencv_modules.hpp>


const float inlier_threshold = 2.5f; // Distance threshold to identify inliers
const float nn_match_ratio = 0.8f;   // Nearest neighbor matching ratio

int main(void)
{
    cv::Mat img1 = cv::imread("g:/Me.png", cv::IMREAD_GRAYSCALE);
    cv::Mat img2 = cv::imread("g:/Me1.png", cv::IMREAD_GRAYSCALE);

    cv::imshow("img1",img1);
    cv::imshow("img2",img2);



    std::vector<cv::KeyPoint> kpts1,kpts2;
        cv::Mat desc1, desc2;

    cv::Ptr<cv::AKAZE> akaze = cv::AKAZE::create();

    akaze->detectAndCompute(img1, cv::noArray(), kpts1, desc1);
        akaze->detectAndCompute(img2, cv::noArray(), kpts2, desc2);

       cv::waitKey(0);

    akaze.release();

    return 0;
}

image description

I am using OPENCV 3.0 Beta x64.

The error is related to some freeing memory.

Windows has triggered a breakpoint in Test64Opencv.exe.

This may be due to a corruption of the heap, which indicates a bug in Test64Opencv.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while Test64Opencv.exe has focus.

The output window may have more diagnostic information.

2015-05-03 13:30:39 -0600 commented question How to make Akaze Run OpenCV 3.0 beta

the picture I added is from the prebuilt x64 and normal kaze matching example in the opencv source.

2015-05-03 13:29:42 -0600 received badge  Editor (source)
2015-05-02 08:01:18 -0600 commented question How to make Akaze Run OpenCV 3.0 beta

Also tell me how you guys are adding the include headers. They all usually come in the build folder but I believe in this version cuda headers and maybe some parts are not there in the build folder already provided with the opencv.

2015-05-02 08:00:07 -0600 commented question How to make Akaze Run OpenCV 3.0 beta

Yes, I am getting that findHomography error and I am using the example provided in the samples section -> tutorial code.

2015-04-30 01:30:48 -0600 asked a question How to Use and Compile Opencv 3.0 Beta?

I would like to know how should I use opencv 3.0Beta without CUDA. How should I use the include folder.

Earlier we use to CMAKE opencv then build the solution in MSVC and then copy the bin and lib folders to the root for easy access and copy the includes in the build folder to the root and change the environment variables.

Now I cannot find cuda includes and other in the build folder that comes along with the opencv zip exe.

2015-04-30 01:30:06 -0600 asked a question How to make Akaze Run OpenCV 3.0 beta

image description While using the Kaze Tracker in the cpp samples. I am getting the following error on runtime:

I am getting an error that says ::

The procedure entry point? findHomography... InputArray OutputArray could not be located in the dynamic link library opencv_calib3d300.dll