zoukankan      html  css  js  c++  java
  • OpenCV.编译opencv-contrib

    1、Windows环境使用VS2017编译opencv-4.2.0和opencv_contrib-4.2.0源码,支持TBB_人工智能_$firecat的代码足迹$-CSDN博客.html(https://blog.csdn.net/libaineu2004/article/details/104252289

      编译的源码是 opencv_contrib-4.2.0.zip,使用的源码是 opencv-4.2.0.zip。这里使用的源码 都是 github下载下来的源码,并非 opencv-4.2.0-vc14_vc15.exe安装之后 里面带的source里面的代码...

      没有下载 TBB(加速编译速度的,我无所谓了,就没弄这个东西)

    2、编译过程中,说缺少一些文件,于是 到 "E:OpenCV_somethingopencv_contrib-4.2.0uild_zzCMakeDownloadLog.txt"中去看,是这些文件:

     2.1、我第二次重新 用CMAKE config了一下,∵设置了 hosts文件,∴CMAKE开始自己下载 文件了 下的好慢啊... 而且貌似 还是有没有下载下来的文件,我需要手动下载一下...

    #do_copy "boostdesc_bgm.i" "0ea90e7a8f3f7876d450e4149c97c74f" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_bgm.i"
    
    #do_copy "boostdesc_bgm_bi.i" "232c966b13651bd0e46a1497b0852191" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm_bi.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_bgm_bi.i"
    
    #do_copy "boostdesc_bgm_hd.i" "324426a24fa56ad9c5b8e3e0b3e5303e" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm_hd.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_bgm_hd.i"
    
    #do_copy "boostdesc_binboost_064.i" "202e1b3e9fec871b04da31f7f016679f" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_064.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_binboost_064.i"
    
    #do_copy "boostdesc_binboost_128.i" "98ea99d399965c03d555cef3ea502a0b" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_128.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_binboost_128.i"
    
    #do_copy "boostdesc_binboost_256.i" "e6dcfa9f647779eb1ce446a8d759b6ea" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_256.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_binboost_256.i"
    
    #do_copy "boostdesc_lbgm.i" "0ae0675534aa318d9668f2a179c2a052" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_lbgm.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/boostdesc_lbgm.i"
    
    #do_copy "vgg_generated_48.i" "e8d0dcd54d1bcfdc29203d011a797179" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_48.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/vgg_generated_48.i"
    
    #do_copy "vgg_generated_64.i" "7126a5d9a8884ebca5aea5d63d677225" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_64.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/vgg_generated_64.i"
    
    #do_copy "vgg_generated_80.i" "7cd47228edec52b6d82f46511af325c5" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_80.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/vgg_generated_80.i"
    
    #do_copy "vgg_generated_120.i" "151805e03568c9f490a5e3a872777b75" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_120.i" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/downloads/xfeatures2d/vgg_generated_120.i"
    
    #do_copy "face_landmark_model.dat" "7505c44ca4eb54b4ab1e4777cb96ac05" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/8afa57abc8229d611c4937165d20e2a2d9fc5a12/face_landmark_model.dat" "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/testdata/cv/face/"
    #missing "E:/OpenCV_something/opencv_contrib-4.2.0/build_zz/testdata/cv/face//face_landmark_model.dat"
    

    3、无法 下载 GitHub的 raw.githubusercontent.com 里面的文件

     在 文件"C:WindowsSystem32driversetchosts"中添加 如下信息:

      151.101.76.133 raw.githubusercontent.com

    4、

    5、

  • 相关阅读:
    [System.currentTimeMillis]/[Calendar.getInstance().getTimeInMillis()]/[new Date().getTime()]
    [Maven]告警[WARNING] Unable to create Maven project from repository.
    通过设置JDK解决存在多个Gradle后台进程的问题
    使用OpenSSL实现X25519秘钥协商功能
    C++代码质量度量工具大阅兵
    Java代码质量度量工具大阅兵
    计算两个时间的时间差(天、小时、分钟、秒数)
    上传文件进度条 (已上传大小、总大小、速度、剩余时间、已用时间)
    table 表格自适应
    谷歌浏览器input框添加了黄色 背景色
  • 原文地址:https://www.cnblogs.com/cppskill/p/12761230.html
Copyright © 2011-2022 走看看