首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 数字识别HOG+SVM

数字识别HOG+SVM

  • 资源大小:6.62 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 图像处理 c++ 识别 数字 HOGSVM

资 源 简 介

#include "stdafx.h"#include #include "windows.h"#include "fstream"#include using namespace std;using namespace cv;//为了方便,这一部分是利用提取HOG特征,SVM对图片进行分类。int _tmain(int argc, _TCHAR* argv[]){     vector img_path;////输入文件名变量       vector    img_cat;//category类型     int nLine=0; //定义行     string buf;     ifstream svm_data("C:\Users\dell\Desktop\CharReg\CharReg\hb1.txt");     //训练样本图片的路径都写在这个txt文件中使用bat批处理文件可以得到这个txt文件.      unsigned long n;      while (svm_data)  //将训练样本文件依次读取进来         {          if (getline(svm_data,buf))

文 件 列 表

HogAndSVM
Debug
2.jpg
2_741.bmp
HogAndSVM.cpp
HogAndSVM.vcxproj
HogAndSVM.vcxproj.filters
HogAndSVM.vcxproj.user
HOG_SVM_DATA.xml
ReadMe.txt
stdafx.cpp
stdafx.h
SVM_PREDECT.txt
SVM_PREDECT1.txt
targetver.h
数字识别分类器.xml
VIP VIP
0.164361s