資源簡介
ios object語法,使用opencv2.4.9 識別人臉特征區域,將多張貼圖放置到眼睛、嘴唇等部分。通過opengcv cvViedo類實時獲取攝像頭每一幀的圖像并進行圖像矩陣的處理
代碼片段和文件信息
/*****************************************************************************
?*???AppDelegate.m
?******************************************************************************
?*???by?Kirill?Kornyakov?and?Alexander?Shishkov?19th?May?2013
?******************************************************************************
?*???Chapter?15?of?the?“OpenCV?for?iOS“?book
?*
?*???Detecting?Facial?Features?presents?a?simple?facial?feature
?*???detection?demo.
?*
?*???Copyright?Packt?Publishing?2013.
?*???http://bit.ly/OpenCV_for_iOS_book
?*****************************************************************************/
#import?“AppDelegate.h“
@implementation?AppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions
{
????//?Override?point?for?customization?after?application?launch.
????return?YES;
}
-?(void)applicationWillResignActive:(UIApplication?*)application
{
????//?Sent?when?the?application?is?about?to?move?from?active?to?inactive?state.?This?can?occur?for?certain?types?of?temporary?interruptions?(such?as?an?incoming?phone?call?or?SMS?message)?or?when?the?user?quits?the?application?and?it?begins?the?transition?to?the?background?state.
????//?Use?this?method?to?pause?ongoing?tasks?disable?timers?and?throttle?down?OpenGL?ES?frame?rates.?Games?should?use?this?method?to?pause?the?game.
}
-?(void)applicationDidEnterBackground:(UIApplication?*)application
{
????//?Use?this?method?to?release?shared?resources?save?user?data?invalidate?timers?and?store?enough?application?state?information?to?restore?your?application?to?its?current?state?in?case?it?is?terminated?later.?
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}
-?(void)applicationWillEnterForeground:(UIApplication?*)application
{
????//?Called?as?part?of?the?transition?from?the?background?to?the?inactive?state;?here?you?can?undo?many?of?the?changes?made?on?entering?the?background.
}
-?(void)applicationDidBecomeActive:(UIApplication?*)application
{
????//?Restart?any?tasks?that?were?paused?(or?not?yet?started)?while?the?application?was?inactive.?If?the?application?was?previously?in?the?background?optionally?refresh?the?user?interface.
}
-?(void)applicationWillTerminate:(UIApplication?*)application
{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}
@end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-08-28?17:38??Chapter15_DetectingFacialFeatures\
?????文件????????6148??2017-08-31?17:43??Chapter15_DetectingFacialFeatures\.DS_Store
?????目錄???????????0??2017-09-15?09:40??__MACOSX\
?????目錄???????????0??2017-09-15?09:40??__MACOSX\Chapter15_DetectingFacialFeatures\
?????文件?????????120??2017-08-31?17:43??__MACOSX\Chapter15_DetectingFacialFeatures\._.DS_Store
?????目錄???????????0??2017-09-14?16:29??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\
?????文件????????6148??2017-08-28?17:39??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\.DS_Store
?????目錄???????????0??2017-09-15?09:40??__MACOSX\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\
?????文件?????????120??2017-08-28?17:39??__MACOSX\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\._.DS_Store
?????文件????????4680??2016-08-18?12:11??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\91202016051814183523957498.png
?????文件?????????212??2016-08-18?12:11??__MACOSX\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\._91202016051814183523957498.png
?????文件?????????757??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\AppDelegate.h
?????文件????????2486??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\AppDelegate.m
?????文件????????1720??2017-08-28?17:02??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures-Info.plist
?????文件?????????425??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures-Prefix.pch
?????文件?????????159??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\CvEffects-Prefix.pch
?????文件???????18594??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\Default-568h@2x.png
?????文件????????6540??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\Default.png
?????文件???????16107??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\Default@2x.png
?????目錄???????????0??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\en.lproj\
?????文件??????????45??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\en.lproj\InfoPlist.strings
?????文件????????4868??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\en.lproj\MainStoryboard_iPad.storyboard
?????文件????????4876??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\en.lproj\MainStoryboard_iPhone.storyboard
?????文件????????5000??2017-09-14?16:29??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\FaceAnimator.cpp
?????文件?????????888??2017-09-14?16:29??__MACOSX\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\._FaceAnimator.cpp
?????文件????????1519??2017-09-12?16:08??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\FaceAnimator.hpp
?????文件?????????392??2017-09-12?16:08??__MACOSX\Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\._FaceAnimator.hpp
?????文件???????17391??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\fuzzy_border.png
?????文件??????358385??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\haarcascade_mcs_eyepair_big.xm
?????文件??????719806??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\haarcascade_mcs_mouth.xm
?????文件???????51856??2017-08-25?19:04??Chapter15_DetectingFacialFeatures\Chapter15_DetectingFacialFeatures\lbpcascade_frontalface.xm
............此處省略342個文件信息
評論
共有 條評論