摘要:
参考了秋风细雨的文章:http://blog.csdn.net/candyforever/article/details/8564746花了点时间编写出了程序,先看看效果吧。识别效果大概都能正确。好了,开始正题:因为本程序是提取HOG特征,使用SVM进行分类的,所以大概了解下HOG的一些知识,其中我... 阅读全文
摘要:
关于HOG里的特征维度参考http://gz-ricky.blogbus.com/logs/85326280.htmlhttp://blog.sina.com.cn/s/blog_7897fb69010196kl.html代码 1 #include 2 #include 3 #include 4 #include 5 #include "opencv2/core/core.hpp" 6 #include "opencv2/highgui/highgui.hpp" 7 #include "opencv2/imgproc/imgproc.hpp&q 阅读全文
摘要:
我的配置文件:my.ini# MySQL Server Instance Configuration File# ----------------------------------------------------------------------# Generated by the MySQL Server Instance Configuration Wizard### Installation Instructions# ----------------------------------------------------------------------## On Linux 阅读全文
摘要:
http://blog.csdn.net/dinglang_2009/article/details/6902793 阅读全文
摘要:
#include /* * === FUNCTION ====================================================================== * Name: LeftClick * Description: 左键按下消息 * ===================================================================================== */void LeftClick ( ){ INPUT Input={0}; // left down ... 阅读全文
摘要:
算法集合:https://code.google.com/p/bgslibrary/测试:AdaptiveBackgroundLearning算法#include #include #include #include "AdaptiveBackgroundLearning.h"int main(int argc, char **argv){ CvCapture *capture = 0; int resize_factor = 100; if(argc > 1) { std::cout width*resize_factor)/100) , (int)((frame_ 阅读全文
摘要:
本文记录了两种方法,用于对vs目录的清理工作,这两种方法都是用python2.7实现的,一个是基于文件的扩展名,一个是基于文件的大小:基于文件大小的清理脚本:#-*- coding:utf-8 -*-import osimport stringdef del_files(dir,topdown=True): for root, dirs, files in os.walk(dir, topdown): for name in files: if os.path.getsize((os.path.join(root, name)))>2097152: #大于2M的文件 ... 阅读全文
摘要:
开始记录VS2008环境下学习OPENCV2.4头文件:1 #pragma once2 #include "CvvImage.h"3 #include "opencv/cv.h"4 #include "opencv/highgui.h"定义全局变量:在*dlg.cpp1 CvCapture* capture;2 CRect rect;3 CDC *pDC;4 HDC hDC;5 CWnd *pwnd;CPP文件: 1 void Cvedio_mfcDlg::OnBnClickedButton1() 2 { 3 // TODO: Add 阅读全文