Skip to content
This repository was archived by the owner on Feb 11, 2019. It is now read-only.

Commit 03c66fd

Browse files
SantaFace project added.
1 parent 1f57259 commit 03c66fd

37 files changed

+1022
-0
lines changed

SantaFace-iOS/SantaFace/.DS_Store

6 KB
Binary file not shown.

SantaFace-iOS/SantaFace/SantaFace.xcodeproj/project.pbxproj

+359
Large diffs are not rendered by default.

SantaFace-iOS/SantaFace/SantaFace.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0450"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "3EB80F071668DA7800AB7B3C"
18+
BuildableName = "SantaFace.app"
19+
BlueprintName = "SantaFace"
20+
ReferencedContainer = "container:SantaFace.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "3EB80F071668DA7800AB7B3C"
36+
BuildableName = "SantaFace.app"
37+
BlueprintName = "SantaFace"
38+
ReferencedContainer = "container:SantaFace.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
</TestAction>
42+
<LaunchAction
43+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
44+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45+
launchStyle = "0"
46+
useCustomWorkingDirectory = "NO"
47+
buildConfiguration = "Debug"
48+
ignoresPersistentStateOnLaunch = "NO"
49+
debugDocumentVersioning = "YES"
50+
allowLocationSimulation = "YES">
51+
<BuildableProductRunnable>
52+
<BuildableReference
53+
BuildableIdentifier = "primary"
54+
BlueprintIdentifier = "3EB80F071668DA7800AB7B3C"
55+
BuildableName = "SantaFace.app"
56+
BlueprintName = "SantaFace"
57+
ReferencedContainer = "container:SantaFace.xcodeproj">
58+
</BuildableReference>
59+
</BuildableProductRunnable>
60+
<AdditionalOptions>
61+
</AdditionalOptions>
62+
</LaunchAction>
63+
<ProfileAction
64+
shouldUseLaunchSchemeArgsEnv = "YES"
65+
savedToolIdentifier = ""
66+
useCustomWorkingDirectory = "NO"
67+
buildConfiguration = "Release"
68+
debugDocumentVersioning = "YES">
69+
<BuildableProductRunnable>
70+
<BuildableReference
71+
BuildableIdentifier = "primary"
72+
BlueprintIdentifier = "3EB80F071668DA7800AB7B3C"
73+
BuildableName = "SantaFace.app"
74+
BlueprintName = "SantaFace"
75+
ReferencedContainer = "container:SantaFace.xcodeproj">
76+
</BuildableReference>
77+
</BuildableProductRunnable>
78+
</ProfileAction>
79+
<AnalyzeAction
80+
buildConfiguration = "Debug">
81+
</AnalyzeAction>
82+
<ArchiveAction
83+
buildConfiguration = "Release"
84+
revealArchiveInOrganizer = "YES">
85+
</ArchiveAction>
86+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>SantaFace.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>3EB80F071668DA7800AB7B3C</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// AppDelegate.h
2+
// SantaFace
3+
//
4+
// Created by Tadas Z on 11/30/12.
5+
// DevBridge
6+
7+
8+
#import <UIKit/UIKit.h>
9+
10+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
11+
12+
@property (strong, nonatomic) UIWindow *window;
13+
14+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// AppDelegate.m
2+
// SantaFace
3+
//
4+
// Created by Tadas Z on 11/30/12.
5+
// DevBridge
6+
7+
#import "AppDelegate.h"
8+
9+
@implementation AppDelegate
10+
11+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
12+
{
13+
// Override point for customization after application launch.
14+
return YES;
15+
}
16+
17+
- (void)applicationWillResignActive:(UIApplication *)application
18+
{
19+
// 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.
20+
// 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.
21+
}
22+
23+
- (void)applicationDidEnterBackground:(UIApplication *)application
24+
{
25+
// 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.
26+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
27+
}
28+
29+
- (void)applicationWillEnterForeground:(UIApplication *)application
30+
{
31+
// 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.
32+
}
33+
34+
- (void)applicationDidBecomeActive:(UIApplication *)application
35+
{
36+
// 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.
37+
}
38+
39+
- (void)applicationWillTerminate:(UIApplication *)application
40+
{
41+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42+
}
43+
44+
@end
Loading
6.39 KB
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// DetectFace.h
2+
// SantaFace
3+
//
4+
// Created by Tadas Z on 11/30/12.
5+
// DevBridge
6+
7+
#import <Foundation/Foundation.h>
8+
9+
@class DetectFace;
10+
@protocol DetectFaceDelegate <NSObject>
11+
- (void)detectedFaceController:(DetectFace *)controller features:(NSArray *)featuresArray forVideoBox:(CGRect)clap withPreviewBox:(CGRect)previewBox;
12+
@end
13+
14+
@interface DetectFace : NSObject
15+
@property (nonatomic, weak) id delegate;
16+
17+
@property (nonatomic, strong) UIView *previewView;
18+
19+
- (void)startDetection;
20+
- (void)stopDetection;
21+
22+
+ (CGRect)convertFrame:(CGRect)originalFrame previewBox:(CGRect)previewBox forVideoBox:(CGRect)videoBox isMirrored:(BOOL)isMirrored;
23+
24+
@end

0 commit comments

Comments
 (0)