AKAZE local feature matching demo error
I am trying to run the demo code for the AKAZE feature matching demo. Im using OpenCV version 3.4.3 with visual studios and keep running into errors. The code can been seen on this link.
https://docs.opencv.org/3.4.3/db/d70/...
It usually causes the error with the line "akaze->detectAndCompute(img1, noArray(), kpts1, desc1);" I have already checked and the image is not empty. The error says
Exception thrown at 0x00007FFC688B7142 (opencv_world343.dll) in Project3.exe: 0xC0000005: Access violation reading location 0x000000003C77AD68.
Any help would be greatly appreciated!
which VS version are you using here ?
are you sure to use the right libs ? (vc14 -> VS2015, vc15 -> VS2017) ?
I am using VS 2015 but thought that meant vc15 it is now changed to vc14. I have had opencv_world343.lib;opencv_world343d.lib added to linker->input which is what I believe I was suppose to do. It is give me the error
Exception thrown at 0x00007FFCAD6346A7 (concrt140.dll) in OpenCV_Test.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
don't use both release and debug libs at the same time !
the release lib should ONLY be linked to your RELEASE project, and the debug lib to the DEBUG one.
problem is entirely unrelated to AKAZE. you just don't know, how to use your IDE correctly. :)