【问题标题】:using YOLO v3 on macOS: OpenCV don´t compile在 macOS 上使用 YOLO v3:OpenCV 不编译
【发布时间】:2021-06-14 02:55:38
【问题描述】:

我在我的 macbook pro 13" 上安装了 Darknet,并且我已经按照 darknet 网站上的说明完成了这些步骤,但是当我在 MakeFile 中写入时: OPENCV = 1,我得到这个错误:

$ ./darknet imtest data/eagle.jpg
    L2 Norm: 371.992218
    Not compiled with OpenCV, saving to Original.png instead
    Not compiled with OpenCV, saving to Gray.png instead
    Not compiled with OpenCV, saving to C1.png instead
    Not compiled with OpenCV, saving to C2.png instead
    Not compiled with OpenCV, saving to C3.png instead
    Not compiled with OpenCV, saving to C4.png instead

我确实安装了 Python 和 OpenCV。我不知道我是否需要设置路径或其他东西,或者我做错了什么。 有人可以帮我吗? 谢谢。

【问题讨论】:

    标签: python macos opencv object-detection yolo


    【解决方案1】:

    您需要将 OpenCV 添加到您的路径中,然后重新编译 darket。将OpenCV添加到路径参考this帖子

    【讨论】:

      猜你喜欢
      • 2018-12-10
      • 2020-11-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多