笔迹鉴别程序

考试的笔迹鉴别程序,分辨出不同人写的笔迹
This commit is contained in:
yanshui177
2017-05-17 16:50:37 +08:00
parent abe00d2e02
commit 962de04ffb
205 changed files with 17672 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
/*
头文件segmentation.h 主函数头文件
*/
#pragma once
#ifdef WIN32 //屏蔽VC6对STL的一些不完全支持造成
#pragma warning (disable: 4514 4786)
#endif
#include "StdAfx.h"
#include "DBop.h"
#include "path.h"
using namespace std;
#define SLEEP_TIME 1000
/*定义全局变量*/
string g_dir = "Y:/"; /* 全局变量 总路径的目录*/
string g_db_hostName = "192.168.200.97"; /*全局变量 服务器ip或名称*/
string g_db_dBName = "purple"; /*全局变量 服务器ODBC数据源*/
string g_db_userName = "BJSH"; /*全局变量 服务器用户名*/
string g_db_password = "bjshadmin"; /*全局变量 服务器密码*/
//string g_db_hostName = "localhost"; /*全局变量 服务器ip或名称*/
//string g_db_dBName = "orcl123"; /*全局变量 服务器ODBC数据源*/
//string g_db_userName = "yannsy"; /*全局变量 服务器用户名*/
//string g_db_password = "123456"; /*全局变量 服务器密码*/
string g_db_qurry_start = "200906"; /*全局变量 数据库查询_开始日期*/
string g_db_qurry_end = "201610"; /*全局变量 数据库查询_结束日期*/
string g_db_qurry_zone = "0"; /*全局变量 数据库查询_特定区域*/
string g_db_qurry_stu_num = "0"; /*全局变量 数据库查询_特定考号*/
bool g_db_qurry_all = true; /*全局变量 数据库查询_查询全部标记*/
string g_db_hoster_zk = "ZK"; /*全局变量 数据库用户zk考试院的zk本地的yannsy*/
bool g_output_cmd_config = false; /*全局变量 输出参数控制*/
bool g_output_txt_config = false; /*全局变量 输出中间文件选项*/
char g_log_adr[50] = "D:/HWCV/log_ori.txt"; /*全局变量 程序日志存储地址*/
char g_log_rec[500] = { 0 }; /*全局变量 程序日志专用变量*/
char g_err_adr[50]= "D:/HWCV/err_ori.txt"; /*错误日志路径*/
/*全局变量 输出txt结果文件*/
/*全局变量 输出txt结果文件地址*/
time_t ltime;
char *srcTime=NULL;
char timeNow[22]={0};
char msg[100]={0};