摘要: 1、Mat作为函数参数的传值、传引用、传指针 c++中,函数参数的传值、传引用、传指针是有区别的。 通常情况下:传值是对原对象的拷贝,在函数内对其进行的操作不会影响到原对象。 而传指针,是将指向原对象内存区域的一个指针作为函数参数,在函数内,访问和操作该指针指向的内存,会直接影响到原对象。引用的定义 阅读全文
posted @ 2019-07-10 15:42 walker_bin 阅读(4809) 评论(0) 推荐(0) 编辑
摘要: 彻底卸载原来版本的方法: https://blog.csdn.net/u012455577/article/details/88353920 方法一 ubuntu版本16.04,opencv版本3.4.6,带CUDA源码安装 参考:https://docs.opencv.org/3.4.6/d7/d 阅读全文
posted @ 2019-07-08 13:38 walker_bin 阅读(2535) 评论(0) 推荐(0) 编辑
摘要: 1、查看自己机器上的显卡型号 lspci -vnn | grep VGA -A 12 参考:https://zhidao.baidu.com/question/620332907672236772.html。 2、下载显卡驱动 https://www.geforce.cn/drivers,或者htt 阅读全文
posted @ 2019-07-06 14:43 walker_bin 阅读(10219) 评论(0) 推荐(0) 编辑
摘要: 1、下载cuda,https://developer.nvidia.com/cuda-90-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type 阅读全文
posted @ 2019-07-05 16:40 walker_bin 阅读(1572) 评论(0) 推荐(0) 编辑
摘要: 一、vscode安装 方法1: sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make umake web visual-studio-co 阅读全文
posted @ 2019-06-30 21:07 walker_bin 阅读(16046) 评论(0) 推荐(0) 编辑
摘要: 类似CV_8UC1是Mat的类型,其定义为type = CV_(位数)+(数据类型)+(通道数)。 CV_8UC1=0 CV_8UC2=8 CV_8UC3=16 CV_8UC4=24 ————depth:0CV_8SC1=1 CV_8SC2=9 CV_8SC3=17 CV_8SC4=25 ————d 阅读全文
posted @ 2019-06-27 21:51 walker_bin 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: bazel安装:https://docs.bazel.build/versions/master/install-ubuntu.html#install-with-installer-ubuntu 安装版本0.15.0 TensorFlow安装:https://tensorflow.google.c 阅读全文
posted @ 2019-06-25 14:47 walker_bin 阅读(902) 评论(0) 推荐(0) 编辑
摘要: 问题在复现工程https://github.com/google/hdrnet时出现。 现象: 解决: TensorFlow版本问题,升级到版本1.10.0之后,问题解决。 阅读全文
posted @ 2019-06-24 13:44 walker_bin 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: 问题在复现工程https://github.com/google/hdrnet时遇到。 现象: 解决办法: 修改hdrnet文件夹下的Makefile文件:在在nvcc里面添加路径:-I /usr/local 阅读全文
posted @ 2019-06-24 12:02 walker_bin 阅读(2269) 评论(0) 推荐(0) 编辑
摘要: 问题如下: 解决: 办法1 1)运行以下命令进行clone $ git clone --recursive https:xxxxxx 2)进入项目根目录,继续下载 $ cd eigen-git-mirror $ git submodule update --init --recursive 方法2 阅读全文
posted @ 2019-06-20 18:46 walker_bin 阅读(19199) 评论(0) 推荐(2) 编辑