OpenCV1,1,2(1.102205;2.100036):OpenCVOpenCV,,C,OpenCV,OpenCV:OpenCV;;;:TP391:B:1004373X(2007)0407802DevelopingMethodofVideoApplicationProgramBasedonOpenCVMAGuizhen1,ZHULingzan1,DUANLi2(1.InstituteofChemicalDefense,Beijing,102205,China;2.CommunicationDepartmentofGeneralStaff,Beijing,100036,China)Abstract:AmethodfordevelopingvideoapplicationprogrambasedonIntelsOpenSourceComputerVisionLibrary(OpenCV)isproposedinthispaper.TheOpenCVcanbeusedasabasicfunctionlibraryofdevelopingvideoapplicationpro2gram.RewritingorusingfunctionsofOpenCVcandevelopvideoapplicationprogramwritingbyCprogramminglanguage.Thismethodcansolvethedisadvantageoflongperiodandlowefficiencyfordevelopingvideoapplicationprogram.Theap2proachandprocessofsettingisprovidedinthispaper.AnapplicationprogramoncameracalibrationusingOpenCVshowsthatthismethodiseffectiveandfeasible.Keywords:OpenCV;videoapplicationprogram;computervision;cameracalibration:20060715,,,,,,,,,OpenCV,OpenCV,,1OpenCVOpenCV(OpenSourceComputerVisionLibrary),Intel(IntelsMicroprocessorResearchLab)(TheVisualInteractivityGroup)OpenCVWindowsLinux,,IntelOpenCV(:bitmap,video),,,,OpenCV::[1,2]:(1)OpenCV(2)OpenCVworkspacefileopenworkspace,OpenCV.dsw;buildbacthbuild,bu2lid(3):FileNew...ProjectsWin32ApplicationWin32consoleapplication;87:OpenCV,,workspace(Createnewwork2space),workspace(Addtocurrentworkspace);okAnemptyprojectFinish;OpenCV,,cv.h,highgui.h,cvaux.h,cvcam.h(4)ProjectSettings...,;SettingsFor:AllConfigurations;C/C++PreprocessorAdditionalIncludeDirectories:opencv\cxcore\include,opencv\cv\in2clude,opencv\otherlibs\highguiopencv\cvaux\include;LinkInputAdditionallibrarypath:,():C:\ProgramFiles\OpenCV\lib\cvd.lib,C:\ProgramFiles\OpenCV\lib\hihghuid.lib,C:\ProgramFiles\OpenCV\lib\cvauxd.lib(5)DebugSettingsFor:Win32Debug;LinkGeneralObject/librarymod2ules,cvd.lib,highguid.lib,cvauxd.lib(5)ReleaseSettingsFor:Win32Release;LinkGeneralObject/librarymod2ules,cv.lib,highgui.lib,cvaux.lib(6)Workspace:ProjectInsertprojectintowork2space;opencv\cv\make\cv.dsp,opencv\cvaux\make\cvaux.dsp,opencv\otherlibs\highgui\highgui.dsp;:ProjectDependencies...;,:cxcore,cv,cvaux,highgui,,OpenCV3OpenCV,VC11U1,320240,USBCPUIV2.4G,VGA,512MB,VisualC++6.0,30OpenCV,,OpenCV,OpenCVcvcam;OpenCVcvFindChessBoardCornerGuessescvFind2CornerSubPix,,;New_Calibrate,[3,4],,,(cm)(s),1;,,6,,,2126,New_Calibrate,,CamParas.dat(88)9720074243þü,,SPEECHCE,,,,,,,,,,,,?SPEECHCE,RDF(ResourceDescriptionFrame2work)[7],(2),25,,,,,[1]ComputerSupportedCollaborativeWriting[2].[M].:,2002.[3]HalaSkafMolli,PascalMolli,GraldOster.SemanticConsistencyforCollaborativeSystems.TheFifthInterna2tionalWorkshoponCollaborativeEditing,ECSCW2003,Helsinki,Finland.[4]MarekObitko.OntologiesDescriptionandApplications.2001.[5],.ontology[J].:,2002,38(5):730728.[6]ZhaiJianshe,WangLiyi.ComputerSupportedCollaborativeEditingSystemwithSpeechRecognitionFunctionality.TheFifthInternationalWorkshoponCollaborativeEditing,EC2SCW2003,Helsinki,Finland,2003.[7],,,.Web[D].:,2004.(79)1,,fx,fy,u0,v0,k1,k2xy1fx559.95196v0120.869fy543.81811v1-0.62868u0154.53486v20.230394IntelOpenCVVisualC++,,OpenCV,,OpenCV,[1][2]IntelImageProcessingLibraryReleaseNotes,[3]ZhangZhengyou.AFlexibleNewTechniqueforCameraCalibration[J].PAMI,2000,22(11):13301334.[4],.VisualC++[M].:,2003.,1972,,,,1969,,,,1978,,,88: