Warning: Constant ABSPATH already defined in /var/www/html/site/wp-config.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:34) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 172

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:34) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:34) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:34) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 175

Warning: Constant WP_DEBUG already defined in /var/www/html/site/wp-config.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:34) in /var/www/html/site/wp-includes/feed-rss2-comments.php on line 8
Comments for Appmire blog https://jeroentrappers.be/site/ www.appmire.be Tue, 31 Oct 2017 12:05:19 +0000 hourly 1 Comment on Face detection with Core Image on Live Video by Rajesh https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-2643 Tue, 31 Oct 2017 12:05:19 +0000 http://www.trappers.tk/site/?p=410#comment-2643 Does it detects iris and eyes?

]]>
Comment on Face detection with Core Image on Live Video by sverre https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-366 Thu, 28 Feb 2013 05:51:47 +0000 http://www.trappers.tk/site/?p=410#comment-366 Cool thanks, I can use this… Have been playing around with putting “stuff” in face just like you, recently. I am planning to use SVGKit ( https://github.com/SVGKit/SVGKit ) to add a vector mask mask (no pun intended), instead of using raster graphics that could look bad when scaled. Just an idea.

]]>
Comment on MainWindow.xib by XCode 4.2 Not Support Windows-Based Application Anymore https://jeroentrappers.hetz1.appmire.be/2011/06/16/mainwindow-xib/#comment-360 Fri, 26 Oct 2012 15:49:12 +0000 http://www.trappers.tk/site/?p=324#comment-360 […] Application 的解决办法 xcode 4.2 不再支持 Window-Based Application 的解决办法 MainWindow.xib 分享到: var jiathis_config={ summary:"", hideMore:false } iOSiOS, iPhone […]

]]>
Comment on MainWindow.xib by DP https://jeroentrappers.hetz1.appmire.be/2011/06/16/mainwindow-xib/#comment-356 Mon, 06 Aug 2012 06:00:13 +0000 http://www.trappers.tk/site/?p=324#comment-356 Great tutorial! It took me half an hour to fix a problem that I was having, though–I typed the ‘Main nib file base name’/’Main Interface’ field with the .xib file extension, and that didn’t work — it was creating an “internal inconsistency exception — could not load nib”. Just in case someone suffers the same silly problem.

]]>
Comment on MainWindow.xib by Reid https://jeroentrappers.hetz1.appmire.be/2011/06/16/mainwindow-xib/#comment-354 Wed, 25 Jul 2012 23:12:48 +0000 http://www.trappers.tk/site/?p=324#comment-354 When using XCode 4.3.3, for some reason I was unable to drag an “object” from the library into the “Objects” pane in the nib. However, double-clicking it added it automatically. Very odd. I thought I’d share in case someone else ran into this issue. Great tutorial, thanks! I’m using an older book and although the “single-view application” template is roughly equivalent to the old “view-based application”, it doesn’t work for many of the exercises in the book and I don’t yet know enough to adapt. Creating this template has solved the problem.

]]>
Comment on Where is MainWindow.xib in Xcode 4.2? by RodWall https://jeroentrappers.hetz1.appmire.be/2012/03/14/where-is-mainwindow-xib-in-xcode-4-2/#comment-353 Mon, 09 Jul 2012 22:34:46 +0000 http://www.trappers.tk/site/?p=399#comment-353 Thank you very much! I’m really new to this and found this very helpful! Screencasts are way more easy to understand than simple written instructions.

]]>
Comment on MainWindow.xib by Xcode 4.2 is missing a .xib file? https://jeroentrappers.hetz1.appmire.be/2011/06/16/mainwindow-xib/#comment-352 Fri, 06 Jul 2012 15:29:34 +0000 http://www.trappers.tk/site/?p=324#comment-352 […] Here is the tutorial if anyone needs to see it http://www.trappers.tk/site/2011/06/16/mainwindow-xib/ […]

]]>
Comment on Face detection with Core Image on Live Video by Jeroen Trappers https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-351 Fri, 06 Jul 2012 07:02:34 +0000 http://www.trappers.tk/site/?p=410#comment-351 In reply to Manoel Costa.

You should have a look a the original Apple Sample “SquareCam”. It shows how to save the image to the camera roll.

]]>
Comment on Face detection with Core Image on Live Video by Manoel Costa https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-350 Thu, 05 Jul 2012 20:05:35 +0000 http://www.trappers.tk/site/?p=410#comment-350 Commenting again just to turn on the Notify me of follow-up comments by email…. option 🙂 THanks

]]>
Comment on Face detection with Core Image on Live Video by Manoel Costa https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-349 Thu, 05 Jul 2012 20:04:40 +0000 http://www.trappers.tk/site/?p=410#comment-349 I’m trying to save the current view as an image with this code:

if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) {
if ([[UIScreen mainScreen] scale] == 2.0) {
UIGraphicsBeginImageContextWithOptions(self.previewView.bounds.size, YES, 2.0);
} else {
UIGraphicsBeginImageContext(self.previewView.bounds.size);
}
} else {
UIGraphicsBeginImageContext(self.previewView.bounds.size);
}

[self.previewView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

UIImageWriteToSavedPhotosAlbum(viewImage, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);
I just want to save a image of the whole thing that is displaying on the screen, the “live camera” plus the overlay image.

But with this code, I’m getting a completely black image as output.

Can you help me with this? Thank you so much 🙂

]]>