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 on: Face detection with Core Image on Live Video https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/ www.appmire.be Tue, 31 Oct 2017 12:05:19 +0000 hourly 1 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?

]]>
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.

]]>
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.

]]>
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

]]>
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 🙂

]]>
By: Jeroen Trappers https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-346 Sun, 17 Jun 2012 11:24:24 +0000 http://www.trappers.tk/site/?p=410#comment-346 In reply to Hugo.

MIT Licence. By the way. Most of the code you see here is based on the Apple Sample. So take into account that Licence.
http://jtr.mit-license.org/

]]>
By: Hugo https://jeroentrappers.hetz1.appmire.be/2012/05/02/face-detection-with-core-image-on-live-video/#comment-342 Thu, 07 Jun 2012 13:45:49 +0000 http://www.trappers.tk/site/?p=410#comment-342 Hi Jeroen,

What kind of license is your code under? I’d like to use a few pieces of it in some code of mine. But instead of drawing something on the face, I want to cut out the face and center it in a box. Since your AV setup is pretty good I’d love to use that.

]]>