Ask Your Question

# Revision history [back]

### SIFT detectAndCompute works but throws an error

In my real time image tracking solution, whenever i am calling detectAndCompute i get an exception thrown.

The exception doesnt crash the program, and the tracking still works (on my machine) but due to the fact that it is constantly throwing the exception, I am seeing some major performance setbacks. Here is the exception:

Exception thrown at 0x00007FFF0FBEA839 in OpenCV2.exe: Microsoft C++ exception: ipp::IwException at memory location 0x0000004CB72FC5C8.


I tried printing the exception to get details with a try-catch clause but it didnt give me any info. Here is the line that throws this exception:

algo->detectAndCompute(frame, mask, keypoints2, descriptors2, false);


### SIFT detectAndCompute works but throws an error

In my real time image tracking solution, whenever i am calling detectAndCompute i get an exception thrown.

The exception doesnt crash the program, and the tracking still works (on my machine) but due to the fact that it is constantly throwing the exception, I am seeing some major performance setbacks. Here is the exception:

Exception thrown at 0x00007FFF0FBEA839 in OpenCV2.exe: Microsoft C++ exception: ipp::IwException at memory location 0x0000004CB72FC5C8.


Here is my SIFT algorithm declaration:

cv::Ptr<cv::xfeatures2d::SIFT> algo = cv::xfeatures2d::SIFT::create(150, 8, 0.04, 8, 1.6);


I tried printing the exception to get details with a try-catch clause but it didnt give me any info. Here is the line that throws this exception:

algo->detectAndCompute(frame, mask, keypoints2, descriptors2, false);