ios oc 人脸动态贴图


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  __MACOSXChapter15_DetectingFacialFeatures
     文件         120  2017-08-31 17:43  __MACOSXChapter15_DetectingFacialFeatures._.DS_Store
     目录           0  2017-09-14 16:29  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures
     文件        6148  2017-08-28 17:39  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures.DS_Store
     目录           0  2017-09-15 09:40  __MACOSXChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures
     文件         120  2017-08-28 17:39  __MACOSXChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures._.DS_Store
     文件        4680  2016-08-18 12:11  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures91202016051814183523957498.png
     文件         212  2016-08-18 12:11  __MACOSXChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures._91202016051814183523957498.png
     文件         757  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesAppDelegate.h
     文件        2486  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesAppDelegate.m
     文件        1720  2017-08-28 17:02  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures-Info.plist
     文件         425  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures-Prefix.pch
     文件         159  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesCvEffects-Prefix.pch
     文件       18594  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesDefault-568h@2x.png
     文件        6540  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesDefault.png
     文件       16107  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesDefault@2x.png
     目录           0  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesen.lproj
     文件          45  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesen.lprojInfoPlist.strings
     文件        4868  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesen.lprojMainStoryboard_iPad.storyboard
     文件        4876  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesen.lprojMainStoryboard_iPhone.storyboard
     文件        5000  2017-09-14 16:29  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesFaceAnimator.cpp
     文件         888  2017-09-14 16:29  __MACOSXChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures._FaceAnimator.cpp
     文件        1519  2017-09-12 16:08  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesFaceAnimator.hpp
     文件         392  2017-09-12 16:08  __MACOSXChapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatures._FaceAnimator.hpp
     文件       17391  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeaturesfuzzy_border.png
     文件      358385  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatureshaarcascade_mcs_eyepair_big.xml
     文件      719806  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatureshaarcascade_mcs_mouth.xml
     文件       51856  2017-08-25 19:04  Chapter15_DetectingFacialFeaturesChapter15_DetectingFacialFeatureslbpcascade_frontalface.xml
............此处省略342个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)