摘要: 印度小哥写的基于边缘的模板匹配算法:基于边缘的模板匹配 - 徐唱 - 博客园 (cnblogs.com),估计无需多数。 其中核心匹配算法为: // stoping criterias to search for model double normMinScore = minScore / noOf 阅读全文
posted @ 2023-06-06 15:16 盖世猪猪侠 阅读(257) 评论(1) 推荐(0) 编辑
摘要: 1. sudo apt-get install build-essential。 2. sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer qtcreator ,这样安装能一次性完成,但不是最新 阅读全文
posted @ 2022-03-01 13:51 盖世猪猪侠 阅读(40) 评论(0) 推荐(0) 编辑
摘要: TEMPLATE = app CONFIG += console c++11 CONFIG -= app_bundle CONFIG -= qt TARGET = cudaQTS CUDA_SOURCES += main.cu INCLUDEPATH += /usr/include/opencv4 阅读全文
posted @ 2021-07-02 21:42 盖世猪猪侠 阅读(184) 评论(0) 推荐(0) 编辑
摘要: pip install opencv-contrib-python==3.4.1.15 pip install opencv-python ==3.4.1.15 就这两条,就可以了!要是安装其他版本,你故意写错,系统会自动弹出提示!! 阅读全文
posted @ 2021-05-31 22:29 盖世猪猪侠 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 随便选一个!!conda install -c menpo cyvlfeat conda install -c menpo/label/new_condaci cyvlfeat conda install -c menpo/label/hog_fortran cyvlfeat conda insta 阅读全文
posted @ 2020-10-30 09:21 盖世猪猪侠 阅读(743) 评论(0) 推荐(0) 编辑
摘要: Opencv有自带函数: cv::vconcat(a, b, combine); 自己无聊造一个轮子: Mat a = imread("**********.jpg"); Mat b = imread("**********.jpg"); resize(b, b, a.size(), 0, 0, I 阅读全文
posted @ 2020-07-22 10:05 盖世猪猪侠 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Anaconda安装opencv3.1报错: UnsatisfiableError: The following specifications were found to be in conflict: - opencv3 -> python 2.7* - python 3.6* 经过测试知道,An 阅读全文
posted @ 2020-07-14 10:48 盖世猪猪侠 阅读(7213) 评论(0) 推荐(0) 编辑
摘要: Anaconda安装后,会把环境变量中添加!在使用pip -V中,会显示Ananconda目录!但是若是使用pip3 install 。。。。。安装库,还是会安装到系统目录下!因此,必须要先在Anaconda中新建一个环境,在该环境下操作方可!! 阅读全文
posted @ 2020-07-10 11:08 盖世猪猪侠 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 安装tensorflow显示python的pip版本,由于我自己用anaconda库,使用: sudo apt-get install python-pip 这个安装的是系统自带的python,而且是还python2!! 还是更新系统的: sudo pip3 install --upgrade pi 阅读全文
posted @ 2020-07-09 22:37 盖世猪猪侠 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 每次使用__m256数据类型,想得到__m256中8个float的和,都是傻傻的直接用: b.m256_f32[0]+b.m256_f32[1]+b.m256_f32[2]+b.m256_f32[3]+b.m256_f32[4]+b.m256_f32[5]+b.m256_f32[6] +b.m256 阅读全文
posted @ 2020-07-09 11:16 盖世猪猪侠 阅读(1138) 评论(0) 推荐(0) 编辑