- 博客(18)
- 资源 (17)
- 收藏
- 关注
原创 c++读取与写入
#include #include #include #include #include #include #include using namespace std;using namespace cv;char negfilename[1024];char palm_fu[100];Mat save_boundingboxmat;int a,b,c
2016-10-26 14:59:19 423
原创 opencv sliding window and multiscale
#include using namespace cv;using namespace std;#includeint main(){Mat LoadedImage;LoadedImage = imread("C:/Users/Administrator/Desktop/lena.jpg", IMREAD_COLOR);int windows_n_rows = 64
2016-10-25 11:28:42 527
转载 opencv SVM 训练行人检测器注意事项
转自http://blog.csdn.net/huixingshao/article/details/44036209如下的解答:用opencv2.49的我是这么理解的:对于线性SVM,在OpenCV\sources\modules\ml\src\svm.cpp这个源码的optimize_linear_svm()函数中opencv的作者已经解释很很清楚了,“we optim
2016-10-25 09:36:54 721
原创 anaconda opencv环境配置
我的电脑是win7 64位,故下载的是anaconda 2.7 64,搭配opencv 2.4.11,在配置的时候,本来想用conda install -c https://conda.binstar.org/menpo opencv 但是这条指令太慢了,于是就访问了https://conda.binstar.org/menpo这个网址,用我大迅雷下载了opencv2.4.11,下载完之后
2016-10-22 14:56:17 2264
转载 c++ time.h显示程序运行时间
#include #include void test(){ int a = 0; for (int i=0;i a++;}int main(){ clock_t t1 = clock(); for (int i=0;i test(); clock_t t2 = clock();
2016-10-21 19:35:46 742
转载 python 库大全
转自:https://www.zhihu.com/question/24590883/answer/92420471原文链接:Python 资源大全GitHub - jobbole/awesome-python-cn: Python资源大全中文版环境管理管理 Python 版本和环境的工具p – 非常简单的交互式 python 版本管理工具。pyenv – 简单的 Py
2016-10-19 14:54:10 1182
转载 计算机视觉常用资源
转自http://www.cnblogs.com/mothe123/p/4267248.html和http://www.cnblogs.com/tornadomeet/archive/2012/05/24/2515980.htmlDeep Learning(深度学习):ufldl的2个教程(这个没得说,入门绝对的好教程,Ng的,逻辑清晰有练习):一ufldl的2个教程(这个
2016-10-19 14:43:20 1548
转载 hog detectmultiscale 参数解释
The size of the default people detector is 64x128, that mean that the people you would want to detect have to be atleast 64x128. For your camera resolution that would mean that a person would have to
2016-10-17 19:42:25 1194
原创 c++ 读取txt文件,split分割字符串
#include #include #include #include #include #include #include #include #include using namespace std;string pattern=" ";int x;vector split( string str, string pattern)
2016-10-13 17:17:35 5426
转载 opencv中setMousecallback的用法
转自 http://blog.csdn.net/maryhuan/article/details/13017697OpenCV中的鼠标响应的函数是setMouseCallback(),可以实现画图的功能。 c++: void setMousecallback(const string& winname, MouseCallback onMouse, void* u
2016-10-10 16:39:39 1894
原创 opencv 随机选取区域并保存区域图
#include #include #include #includeusing namespace cv; using namespace std; char filename[100];char filename1[100];void main(){ for(int i=1;i{sprintf(filename,"C:/Us
2016-10-10 10:12:50 1365
转载 c++ 产生随机数
C++的随机数函数为rand(), 可以获得一个非负整数的随机数。要让随机数限定在一个范围,可以采用模除加加法的方式。要产生随机数r, 其范围为 m<=r<=n,可以使用如下公式:rand()%(n-m+1)+m其原理为,对于任意数,0<=rand()%(n-m+1)<=n-m于是0+m<=rand()%(n-m+1)+m<=n-m+m即m
2016-10-09 11:08:00 292
原创 Assertion failed (size.width>0 && size.height>0)
if(!image.empty()){ imshow("window", image); }添加一个这样的判定,就不会出现这种情况了
2016-10-08 14:19:51 1819
Programming Robots with ROS
2016-09-10
Visual 3D Modeling from Images(tutorial)
2015-08-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人