visageSDK
ShowcaseDemo/ShowcaseDemo/Informer.mm
1 //
2 // Informer.m
3 // FaceTrackerDemo
4 //
5 // Created by Josip Ivekovic on 6/4/13.
6 // Copyright (c) 2013 Josip Ivekovic. All rights reserved.
7 //
8 
9 #import "Informer.h"
10 
11 @implementation Informer
12 
13 @synthesize fpsLabel;
14 @synthesize infoLabel;
15 @synthesize statusLabel;
16 
17 - (void) showTrackingFps:(NSString *)fps Info:(NSString *)info andStatus:(NSString *)status
18 {
19  [[NSOperationQueue mainQueue] addOperationWithBlock:^{
20 
21  [self.fpsLabel setText:fps];
22  [self.infoLabel setText:info];
23  [self.statusLabel setText:status];
24 
25  }];
26 }
27 
28 @end
29 
30 
Displays tracking information.
UILabel * fpsLabel
Label with fps information.
UILabel * statusLabel
Label with tracking status.
UILabel * infoLabel
Label with tracking information.