gpt4 book ai didi

c++ - SIFT detectAndCompute 抛出 ipp 异常

转载 作者:塔克拉玛干 更新时间:2023-11-03 07:01:44 27 4
gpt4 key购买 nike

在我的实时图像跟踪解决方案中,每当我调用 detectAndCompute 时都会抛出异常。

异常不会使程序崩溃,并且跟踪仍然有效(在我的机器上),但由于它不断抛出异常,我看到了一些重大的性能挫折。这是异常(exception)情况:

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

我尝试打印异常以使用 try-catch 子句获取详细信息,但它没有给我任何信息。这是抛出此异常的行:

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

最佳答案

这是无害的,参见示例 https://github.com/opencv/opencv/issues/9718 .

如果您在调试器之外运行代码,您将看不到异常打印输出。

关于c++ - SIFT detectAndCompute 抛出 ipp 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58558308/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com