OpenCV 3.0 visual debug with CVV, crash cvv::showImage

徘徊边缘 提交于 2019-12-08 06:40:01

问题


I tried use visual debug like in this tutorial

#define CVVISUAL_DEBUGMODE
#include <opencv2/cvv/debug_mode.hpp>
#include <opencv2/cvv/show_image.hpp>
#include <opencv2/cvv/final_show.hpp>

int main() {
    cv::Mat mat = imread("...");
    imshow("img", mat); // works fine
    waitKey();

    cvv::showImage(mat); // crash on this line

    cvv::finalShow();

    return 0;
}

EXC_BAD_ACCESS (code=1, address=0x0)

来源:https://stackoverflow.com/questions/34897345/opencv-3-0-visual-debug-with-cvv-crash-cvvshowimage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!