Navigation

    全志在线开发者论坛

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

    Yuzuki Lizard opencv-mobile 预编译包来了

    V Series
    1
    1
    1097
    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.
    • nihui
      nihui LV 6 last edited by

      下载地址 https://github.com/nihui/opencv-mobile

      opencv-mobile 通过调整编译参数,删减部分opencv源码,来最小化编译的 opencv 库,尤其适合微型linux开发板呐~~

      • 提供了 opencv 常用的功能,如读写图片,处理,矩阵操作等等
      • 版本与上游同步,无第三方依赖
      • stb_image jpg decoding 使用neon加速

      f5567a17-2714-43da-84db-e01c4142e2c5-图片.png

      这个包是 toolchain-sunxi-musl-gcc-830 工具链编译

      配合 https://github.com/nihui/opencv-mobile/blob/master/toolchains/arm-openwrt-linux-muslgnueabi.toolchain.cmake 工具链定义,cmake编译使用

      export TOOLCHAIN_ROOT_PATH=toolchain-sunxi-musl-gcc-830/toolchain 文件夹路径
      export STAGING_DIR=toolchain-sunxi-musl-gcc-830/toolchain 文件夹路径
      
      cmake -DCMAKE_TOOLCHAIN_FILE=arm-openwrt-linux-muslgnueabi.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DOpenCV_DIR=opencv-mobile-4.8.0-yuzuki-lizard/lib/cmake/opencv4 ..
      make -j 2
      
      1 Reply Last reply Reply Quote Share 2
      • 1 / 1
      • First post
        Last post

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

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