- 博客(6)
- 收藏
- 关注
原创 caffe在内存中初始化模型 c++
#include <caffe/caffe.hpp>#include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>#include <opencv2/imgproc/imgproc.hpp>#include <string>#include <utilit...
2018-04-11 13:54:50 1105
原创 人脸识别Insightface的caffe版本
请查看本人的github:https://github.com/xialuxi/arcface-caffe
2019-01-18 15:06:55 1805 1
原创 Opencv以目标重心上下分割人的上下半身
void colorclass::CutPicture(char * filename, IplImage* &pDest_Upper,IplImage* &pDest_Lower) { IplImage *src = cvLoadImage(filename,1); IplImage *src_g = cvLoadImage(filename,0); //发现目标中心 CvPoint
2014-11-21 17:39:18 792
原创 Opencv简单的抠取目标图片
void CutOutTarget(IplImage* &src, IplImage* &pDest) { //为灰度图申请空间 IplImage* bw_mode = cvCreateImage(cvGetSize(src),8,1); cvZero(bw_mode); //为边缘图像申请空间 IplImage* canny_mode = cvCreateImage(cvGetS
2014-11-21 17:34:02 1245
原创 简化的图片匹配(利用颜色比例)
void Comp_Picture(float *&color,pmyColor &pcolor, pvariance &vance, int Method) { while(pcolor) { pvariance ppvariance = new variance; memset(ppvariance,0,sizeof(variance)); //保存图片路径 strcpy
2014-11-21 17:30:08 874
原创 简化的HSV颜色提取
//载入图片 IplImage * src= cvLoadImage((char *)filename); if(src == NULL) src = (IplImage *)filename; IplImage* hsv = cvCreateImage( cvGetSize(src), 8, 3 ); IplImage* h_plane = cvCreateImag
2014-11-21 17:26:55 1259
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人