/*-------------------------------------------------------------------------------------*/ /* - File Name : HiVISL.h */ /* */ /* - Description : HiVIS¸¦ ÃʱâÈ­ ÇÏ°í ±âº» ÇÔ¼ö¸¦ Á¦°øÇÑ´Ù(Main Program Header) */ /* */ /* - SYSTEM : QNX 4.0 or later */ /* */ /* - AUTHOR : HITECOM SYSTEM */ /* */ /* - DATE : 2008/04/24 */ /* */ /* - Update : */ /* */ /* Copyright (c) 1994, 1998 by HTC , All Rights Reserved */ /*-------------------------------------------------------------------------------------*/ //---------------------------------------------------------------------------- #ifndef HIVISL_H #define HIVISL_H //--------------------------------------------------------------------------- #include #include "newFeatBP.h" //¹®ÀÚ¿µ¿ª ±¸Á¶Ã¼ typedef struct tagArea{ int Left; int Right; int Top; int Bottom; int Width; int Height; }AREA; //½Ã½ºÅÛ ¼³Á¤ ÆÄ¶ó¹ÌÅÍ typedef struct tagSystemPara{ double BP_LNUMBER; double BP_DIFF; double VAR_THRESHOLD; int IMAGE_SAVE; int NET_IMAGE; int PIXEL_CHANNEL; int BLACK_OR_WHITE; int NUMBER_WIDTH; int NUMBER_HEIGHT; int NUMBER_COUNT; int SEVEN_SEGMENT_FONT; AREA Area[10]; }SYSTEM_PARA; //¹®ÀÚ¿µ¿ª ±¸Á¶Ã¼ typedef struct tagRecogResult{ int rtn; float dRecogRate[20]; float dRecogDiff[20]; char cRecogData[20]; }RECOG_RESULT; //ä³Î typedef struct tagChannel{ char strSysINIFilePath[300]; //INI ÆÄÀÏ °æ·Î char strTargetFilePath[300]; //Target ÆÄÀÏ °æ·Î char strWeightFilePath[300]; //Weight ÆÄÀÏ °æ·Î SYSTEM_PARA SysPara; //INI ½Ã½ºÅÛ ÆÄ¶ó¹ÌÅÍ CBackpro *LargeNumber_Net; //ÇнÀ µ¥ÀÌÅÍ }CHANNEL; //ÀÎ½Ä ½ÇÇà ÇÔ¼ö RECOG_RESULT RecogPlate( SYSTEM_PARA &SysPra, //INI µ¥ÀÌÅÍ CBackpro *LargeNumber_Net, //ÇнÀ µ¥ÀÌÅÍ unsigned char* ImageBuf //À̹ÌÁö µ¥ÀÌÅÍ ); //INI ÆÄÀÏ ·Îµå SYSTEM_PARA LoadINIfile(char *strSysFilePath); //°á°ú ÀúÀå Æú´õµé »ý¼º(½ÇÇàÇϱâ Àü¿¡ ²À 1¹øÀº ½ÇÇà ÇÒ°Í!!) void CreateFolders(char *strCurrentFolderPath); #endif