Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    怎么编译yolov5模型验证程序

    V Series
    2
    2
    1191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      caochenxin LV 5 last edited by

      cb994532-eba8-4550-a9ac-b00185458eb0-image.png
      想知道这里具体怎么编译验证,需要下载openCV的相关软件包吗?

      T 1 Reply Last reply Reply Quote Share 0
      • T
        thepresent LV 3 @caochenxin last edited by

        @caochenxin
        sudo apt install libopencv-dev
        然后执行
        g++ --std=c++11 -Wfatal-errors -O3 xxx.cpp -o yyy $(pkg-config --cflags --libs opencv4)
        其中xxx是上面的源码,yyy是输出的文件名。
        在ubuntu20.04系统上使用g++9.4版本编译通过。

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策