- 博客(20)
- 资源 (2)
- 收藏
- 关注
原创 c++ 类模板实例化
(1)隐式实例化对象隐式实例化就像我们用类名实例化对象一样,唯一不同的是需要在类模板后面指定该对象所需的类型参数,跟函数调用类似。例:Pair<string, string> ii;(2)显示实例化对象当使用关键字template并指出所需类型来声明类时,编译器将生成类声明的显式实例化。声明必须位于模板定义所在的名称空间中。例:template class Pair
2017-11-17 17:53:01
1330
转载 opencv将两幅图像拼在一起
网上看到的,来源忘记了1.按列拼接Mat mergeCols(Mat A, Mat B){ CV_ASSERT(A.cols == B.cols&&A.type() == B.type()); int totalCols = A.cols + B.cols; Mat mergedDescriptors(A.rows, totalCols, A.type());
2017-09-28 18:52:13
2056
原创 Opencv 将指定区域 图像置为黑
Mat mm=mask(Rect(0,0,mask.cols/2,mask.rows));//ROI设置mm={Scalar(0,0,0)};//把ROI中的像素值改为黑色
2017-09-27 20:07:55
17471
1
原创 cs231n 学习过程 问题记录
(1)数据预处理时,将数据集转化为0均值的原因:若数据均大于0,则梯度方向传播时,会均为正或者负,则导致最后权值均为正或负。但实际使用中由于BATCHsize的存在,在更新权值时,所有数据的梯度相加,可能会使 权值有多重符号。This has implications on the dynamics during gradient descent, because if the dat
2017-07-30 11:08:02
389
转载 Opencv 创建图像时,CV_8UC1,CV_32FC3等参数的含义
转载链接:http://blog.youkuaiyun.com/maweifei/article/details/51221259CV_bit_depth>(S|U|F)Cnumber_of_channels>1--bit_depth---比特数---代表8bite,16bites,32bites,64bites---举个例子吧--比如说,如 如果你现在创建了一个存储--灰
2017-07-26 11:27:08
33051
1
转载 矩阵投影角度理解最小二乘法
作者:阿狸链接:https://www.zhihu.com/question/37031188/answer/111336809来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。最小二乘法(Least Squares Method,简记为LSE)是一个比较古老的方法,源于天文学和测地学上的应用需要。在早期数理统计方法的发展中,这两门科学起了很
2017-05-20 11:41:22
2976
转载 numpy基础知识
(1)numpy多维数组介绍http://old.sebug.net/paper/books/scipydoc/numpy_intro.html
2017-05-10 13:25:48
443
转载 ssd+segnet工作日志
http://blog.youkuaiyun.com/xiaxiazls/article/details/52039473
2017-05-10 10:00:53
914
转载 opencv安装
http://blog.youkuaiyun.com/bdgog/article/details/53494497http://www.samontab.com/web/2012/06/installing-opencv-2-4-1-ubuntu-12-04-lts/http://blog.youkuaiyun.com/Swearos/article/details/51307304http://ww
2017-05-09 22:46:44
458
原创 anaconda3 python3.5+caffe 接口编译
配置好CAFFE后,编译python接口(1)修改Makefile文件ANACONDA_HOME := $(HOME)/anaconda3PYTHON_INCLUDE := $(ANACONDA_HOME)/include \ $(ANACONDA_HOME)/include/python3.5m \ $(ANACONDA_HOME)/lib/pyt
2017-05-09 14:30:01
3088
原创 ubuntu桌面 菜单栏消失 解决方案
方案1:sudo apt-get updatesudo apt-get install --reinstall ubuntu-desktopsudo apt-get install unitysudo reboot方案2:sudo apt install ubuntu-desktop如果不起作用sudo apt install -f ubuntu-desktop
2017-05-09 09:30:28
1443
1
转载 caffe+anaconda3
(1)http://blog.youkuaiyun.com/lien0906/article/details/51784191(2)http://stackoverflow.com/questions/39874099/caffegpuopencv3-1python3-5anacondafatal-error-python-h-no-such-file-or-di/39959368#39959368(
2017-05-06 00:01:27
916
原创 ubuntu16.04+cuda8.0+caffe
http://blog.youkuaiyun.com/xuzhongxiong/article/details/52717285(1)ubuntu16.04安装(2)换阿里源cd /etc/apt/备份sources.listsudo cp sources.list sources.list.bak替换# deb cdrom:[Ubuntu 16.04 LTS _Xen
2017-05-05 10:08:49
443
原创 python调用resnet模型 对人脸图片进行特征提取,提取全连接层特征向量
#resnet feature extractionimport osos.chdir('/root/caffe-master/examples')import numpy as npimport matplotlib.pyplot as pltimport itertoolsimport csvplt.rcParams['figure.figsize']=(10,10)plt
2017-05-03 23:28:31
13093
14
原创 caffe python 接口文档汇总
(1)http://nbviewer.jupyter.org/github/BVLC/caffe/blob/master/examples/pascal-multilabel-with-datalayer.ipynb#Multilabel-classification-on-PASCAL-using-python-data-layers(2)系列博客https://prateekvjoshi.
2017-05-03 23:24:15
582
转载 opencv中houghlines函数返回的rho和theta
cvHoughLines2()直线检测中代码的疑惑rho (0,0)到直线的距离,rho的正负判定:Y轴截距大于0的均为正,Y轴截距小于0则rho为负。theta为直线与Y轴负方向的夹角,以Y轴负轴为起始轴,逆时针旋转到直线的角度。houghlines2()的meth参数有三种,你问的代码是CV_HOUGH_STANDARD,CV_HOUGH_PROBABILIST
2017-04-25 23:50:22
8043
1
原创 houghline
#include #include "opencv2\opencv.hpp"#includeusing namespace std;using namespace cv;void makecolorwheel(vector &colorwheel){int RY = 15;int YG = 6;int GC = 4;int CB = 11;
2017-04-20 20:47:13
587
原创 caffe python接口 图片预处理 transformer 类 学习笔记
class Transformer: """ Transform input for feeding into a Net. Note: this is mostly for illustrative purposes and it is likely better to define your own input preprocessing routi
2016-10-28 17:35:32
2539
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人