資源簡介
圖像識別代碼,可以識別數(shù)字和字母,原理簡單,對于圖像清晰的圖片識別率很高,用于識別驗證碼和交通車牌

代碼片段和文件信息
//基于BP網(wǎng)絡(luò)的含噪聲數(shù)字的識別(noised?digital?number?recognition?based?on?BPnet)
//Developed?by?趙輝(H.ZHAO)
//Shandong?UniversityJInanChinaPRC
//finished?2004-03-26
//?BPnet.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“BPnet.h“
#include?“MainFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBPnetApp
BEGIN_MESSAGE_MAP(CBPnetApp?CWinApp)
//{{AFX_MSG_MAP(CBPnetApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CBPnetApp?construction
CBPnetApp::CBPnetApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBPnetApp?object
CBPnetApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBPnetApp?initialization
BOOL?CBPnetApp::InitInstance()
{
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
//?To?create?the?main?window?this?code?creates?a?new?frame?window
//?object?and?then?sets?it?as?the?application‘s?main?window?object.
CMainframe*?pframe?=?new?CMainframe;
m_pMainWnd?=?pframe;
//?create?and?load?the?frame?with?its?resources
pframe->Loadframe(IDR_MAINframe
WS_OVERLAPPEDWINDOW?|?FWS_ADDTOtitle?NULL
NULL);
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
pframe->ShowWindow(SW_SHOWMAXIMIZED);
pframe->UpdateWindow();
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CBPnetApp?message?handlers
/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?dialog?used?for?App?About
class?CAboutDlg?:?public?CDialog
{
public:
CAboutDlg();
//?Dialog?Data
//{{AFX_DATA(CAboutDlg)
enum?{?IDD?=?IDD_ABOUTBOX?};
//}}AFX_DATA
//?ClassWizard?generated?virtual?function?overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual?void?DoDataExchange(CD
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????11024??2004-03-30?04:02??數(shù)字,字母都可以識別\bp-char\BPnet.rc
?????文件???????2752??2004-03-30?03:53??數(shù)字,字母都可以識別\bp-char\BPnet.clw
?????文件???????3814??2004-03-27?14:23??數(shù)字,字母都可以識別\bp-char\BPnet.cpp
?????文件???????4425??2004-03-29?11:12??數(shù)字,字母都可以識別\bp-char\BPnet.dsp
?????文件????????533??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\BPnet.dsw
?????文件???????1356??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\BPnet.h
?????文件???????3706??2004-03-30?04:19??數(shù)字,字母都可以識別\bp-char\pred.h
?????文件???????3500??2004-03-27?14:23??數(shù)字,字母都可以識別\bp-char\MainFrm.cpp
?????文件???????1744??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\MainFrm.h
?????文件???????3559??2004-03-26?00:59??數(shù)字,字母都可以識別\bp-char\matrix_op.h
?????文件???????3848??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\ReadMe.txt
?????文件???????1154??2004-03-30?04:02??數(shù)字,字母都可以識別\bp-char\Resource.h
?????文件????????207??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\StdAfx.cpp
?????文件????????999??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\StdAfx.h
?????文件???????2716??2004-03-30?03:53??數(shù)字,字母都可以識別\bp-char\ChildView.h
?????文件??????42880??2004-03-30?04:02??數(shù)字,字母都可以識別\bp-char\BPnet.aps
?????文件??????24277??2004-03-30?04:09??數(shù)字,字母都可以識別\bp-char\ChildView.cpp
?????文件??????50176??2008-01-25?17:27??數(shù)字,字母都可以識別\bp-char\BPnet.ncb
?????文件???????1643??2008-01-25?17:24??數(shù)字,字母都可以識別\bp-char\BPnet.plg
?????文件??????48640??2008-01-25?17:27??數(shù)字,字母都可以識別\bp-char\BPnet.opt
?????文件???????1078??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\res\BPnet.ico
?????文件????????397??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\res\BPnet.rc2
?????文件????????718??2004-03-21?11:21??數(shù)字,字母都可以識別\bp-char\res\Toolbar.bmp
?????目錄??????????0??2008-01-25?17:35??數(shù)字,字母都可以識別\bp-char\res
?????目錄??????????0??2008-01-25?17:35??數(shù)字,字母都可以識別\bp-char
?????目錄??????????0??2010-05-05?09:23??數(shù)字,字母都可以識別
-----------?---------??----------?-----??----
???????????????215146????????????????????26
評論
共有 條評論