malic-0.0.9.1

所属分类:模式识别(视觉/语音等)
开发工具:C/C++
文件大小:513KB
下载次数:9
上传日期:2013-09-02 18:16:18
上 传 者LIBOSHINIBABA
说明:  linux下人脸识别源代码``````````````````````````````````````
(the description of 人脸识别)

文件列表:
malic-0.0.9.1 (0, 2013-08-04)
malic-0.0.9.1\Makefile.in (12642, 2006-01-17)
malic-0.0.9.1\NEWS (0, 2005-07-21)
malic-0.0.9.1\acconfig.h (232, 2005-08-18)
malic-0.0.9.1\autogen.sh (4506, 2005-07-21)
malic-0.0.9.1\configure (713165, 2006-01-17)
malic-0.0.9.1\glade_gui_src (0, 2013-08-02)
malic-0.0.9.1\glade_gui_src\Makefile.am (305, 2005-07-21)
malic-0.0.9.1\glade_gui_src\Makefile.in (10150, 2006-01-17)
malic-0.0.9.1\glade_gui_src\glade_callbacks.c (2761, 2005-08-04)
malic-0.0.9.1\glade_gui_src\glade_callbacks.h (2542, 2005-08-04)
malic-0.0.9.1\glade_gui_src\glade_interface.c (67858, 2005-11-14)
malic-0.0.9.1\glade_gui_src\glade_interface.h (441, 2005-11-14)
malic-0.0.9.1\glade_gui_src\glade_support.c (4588, 2005-07-21)
malic-0.0.9.1\glade_gui_src\glade_support.h (1020, 2005-07-21)
malic-0.0.9.1\glade_gui_src\main.c (1102, 2005-07-21)
malic-0.0.9.1\ltmain.sh (184058, 2006-01-17)
malic-0.0.9.1\scripts (0, 2013-08-02)
malic-0.0.9.1\scripts\Makefile.am (618, 2005-12-13)
malic-0.0.9.1\scripts\Makefile.in (6475, 2006-01-17)
malic-0.0.9.1\scripts\randcat.py (1512, 2005-12-06)
malic-0.0.9.1\scripts\xmltocvhaardata.py (13844, 2005-12-06)
malic-0.0.9.1\src (0, 2013-08-04)
malic-0.0.9.1\src\Makefile.am (5135, 2005-12-06)
malic-0.0.9.1\src\Makefile.in (37534, 2006-01-17)
malic-0.0.9.1\src\csu (0, 2013-08-02)
malic-0.0.9.1\src\csu\Makefile.am (678, 2005-07-21)
malic-0.0.9.1\src\csu\Makefile.in (9988, 2006-01-17)
malic-0.0.9.1\src\csu\csuAnalyzePermute.c (41503, 2005-08-04)
malic-0.0.9.1\src\csu\csuAnalyzeRankCurve.c (15201, 2005-08-04)
malic-0.0.9.1\src\csu\csuAnalyzeTwoStage.c (12229, 2005-08-04)
malic-0.0.9.1\src\csu\csuBayesianProject.c (16127, 2005-08-04)
malic-0.0.9.1\src\csu\csuBayesianTrain.c (15117, 2005-08-04)
malic-0.0.9.1\src\csu\csuCommon.h (1496, 2005-08-04)
malic-0.0.9.1\src\csu\csuCommonCommandLine.c (9388, 2005-08-04)
malic-0.0.9.1\src\csu\csuCommonCommandLine.h (4867, 2005-08-04)
malic-0.0.9.1\src\csu\csuCommonFile.c (29605, 2005-08-04)
malic-0.0.9.1\src\csu\csuCommonFile.h (3877, 2005-08-04)
malic-0.0.9.1\src\csu\csuCommonImage.c (49369, 2005-08-04)
... ...

malic var0.0.3 Japanese REDME exsit in doc/REDME_JP ---------------------------------------------------------------------- malicsaver ---------------------------------------------------------------------- run screensaver and quit screensaver if face is exist or not ixist require you shuld start up xscreensaver like $ xscreensaver & recommend edit .xsscreensaver unfade -> True and edit .bash_profile and start up xscreensaver automatically. ---------------------------------------------------------------------- malicrecog ---------------------------------------------------------------------- This program aim to recognise face parts position example # if you don't have jet files $ cp malic/doc/sample_gaborrg_jet.xml gaborrg_jet.xml $ cp malic/doc/sample_gaborrg_jet.xml.masks gaborrg_jet.xml.masks $ malicrecog -j gaborrg_jet.xml -m gaborrg_jet.xml.masks or $ malicrecog #load default (/usr/local/share/malic/gaborrg_jet.xml and .masks) files # after second time only $ malicrecog -j gaborrg_jet.xml -m gaborrg_jet.xml.masks or $ malicrecog #load default gaborrg_jet files Usage - malicrecog [options] -j filename, --jet filename set jet file (default gaborrg_jet.xml) -m filename, --mask filename set jet mask file (default gaborrg_jet.xml.masks) -h, -?, --help show this help This program suspect face parts position based on jet file, jet mask file, Without -j -m option each default file (gaborrg_jet.xml and gaborrg_jet.xml.masks) data load. ---------------------------------------------------------------------- malicsampling ---------------------------------------------------------------------- This program aim to get gabor filtered value by mouse click. Save to file as xml data structure. It should work with USB camera. oprating manual [MOVIE WINDOW] right-click: halt, restart left-click : halt and correct gabor filtered data at that point [UPPER-RIGHT SCROLLED WINDOW] -- (if you left-click movie area and correct data, after you can execute) parts button set clicked point data to own parts name. Enter button parts data move to stuck. [LOWER-RIGHT SCROLLED WINDOW] data type gabor_mag(not recommend): only gaobr magnitude generated by Malib GaborRg It's preparation for gabor phase function will build in Malib. jet(default): The data construction from gabor magnitude and gabor phase. It's generated by csuFaceIdEval. save button output stuck data that pushed by enter button to xmlfile data save xml file name save file name Browse wake up file dialog #------------------------------------------------------------# Tutorial (malicsampling) (if you use Default sample data that exist in doc/sample Connect USB Camera $ ./gaborrg_maker 1. Move mouse cursor to MOVIE-WINDOW and halt by right-click. 2. Click face parts (like eye edge or nose edge ...etc) 3. If you click Left-Eye-Left-Edge, after you click RIGHT-UPPER-WINDOW left_eye_l_edge button and set data 4. You continue 2-3 untill fill every parts 5. Click RIGHT-UPPER-WINDOW Enter button and every parts data (face data) move to stuck (didn't data save to file here). 6. Right-click MOVIE-WINDOW and restart movie 7. if you correct enough data after click RIGHT-LOWER-WINDOW save button the data save to "data save xml file name" field file. 8. correct and save data, start malicrecog. #--------------------------------------------------------------- # note! #--------------------------------------------------------------- only implement under the connecting USB camera. can't setting face parts name and numbers datastructure create from other file yet. malicsampling save is save data additionary if you want to remove data you shuld remove file #--------------------------------------------------------------------- # tutorial (to generate eye.xml) #--------------------------------------------------------------------- # you should have forrow directory $ ls -F det-img/ img/ eye_bgimg/ #start # face parts sampling by your hand $ malicsampling (set your face parts data and save faceparts.xml) # face parts sampling by tracking (100~1000) $ malichaarsampling -j faceparts.xml -f faceparts.xml (save your face parts tracked data and image to ./img/ and vertlabel.xml) # generate positive info file of eye $ xmltocvhaardata.py -f ./img/vertdata.xml -i ./img \ -p "left_eye_l_edge left_eye_r_edge right_eye_l_edge right_eye_r_edge" \ -w 25 -h 25 > eyeinfo.dat # generate negative images to ./eye_bgimg and generate info file $ xmltocvhaardata.py -f ./img/vertdata.xml -i ./img \ -p "left_eye_l_edge left_eye_r_edge right_eye_l_edge right_eye_r_edge" \ -b -r -d ./eye_bgimg -w 50 -h 50 -n 3 > eye_bg_info.dat # generate vec file (eyevec) by opencv $ opencv-createsamples -info eyeinfo.dat -vec eyevec -num num_of_positives -bg eye_bg_info.dat -show $ opencv-haartraining -vec eyevec -bg eye_bg_info.dat -npos num_of_positives -nneg num_of_negatives -data eye_class #...(waiting 1 or more hour) # performance check (generate checked image in det-img) $ opencv-performance -data eye_class -info lefteye_info.dat # generate xml file (haarconv getting from yahoo opencv comunity) $ haarconv eye_class eye.xml 25 25 # test in realtime $ malicpartsdetect -f haarcascade_frontalface_alt.xml -p eye.xml #--------------------------------------------------------------------- # for developers #--------------------------------------------------------------------- # directory & files malic |-- src (prgram files) | | | |-- csu (csuFaceIdEval files) | | |-- glade_gui_src (generated by glade GUI interface tool files) | |-- data (contain haarcascade data) malic/malic.glade glade Gtk interface tool file if you want to edit interface $ glade malic.glade

近期下载者

相关文件


收藏者