摘要: string是c++特有的,使用时需添加头文件#include<string> (一)#include<string.h>和#include<cstring>以及#include<string.h>区别 <string.h> <string.h>是C版本的头文件,包含比如strcpy、strcat之 阅读全文
posted @ 2017-03-13 22:16 Elaine_DWL 阅读(4114) 评论(0) 推荐(1)
摘要: 1 #include 2 #include 3 using namespace std; 4 //递归求最大公约数 5 int gcd(int x,int y){//x>=y 6 if(x==y) return x; 7 if(x%y==0){ 8 return y; 9 } 10 else{ 11 int tmp... 阅读全文
posted @ 2017-03-13 21:35 Elaine_DWL 阅读(1051) 评论(0) 推荐(0)
摘要: 原文链接:http://blog.csdn.net/liulina603/article/details/8291093 1、HOG特征: 方向梯度直方图(Histogram of Oriented Gradient, HOG)特征是一种在计算机视觉和图像处理中用来进行物体检测的特征描述子。它通过计 阅读全文
posted @ 2017-03-13 20:08 Elaine_DWL 阅读(327) 评论(0) 推荐(0)