Re: Detecting face features using CoreImage or HSV space/Mask
Re: Detecting face features using CoreImage or HSV space/Mask
- Subject: Re: Detecting face features using CoreImage or HSV space/Mask
- From: Alex Zavatone <email@hidden>
- Date: Fri, 02 Jan 2015 16:15:45 -0500
Just a note that last year I used the face feature detection in iOS 7 and was getting between 5 - 20 FPS for face detection, but never got great (consistent) results with detecting if eyes were open or closed, mouth was smiling or not. I seem to recall about 5 - 7 FPS on the iPhone 5s when we were detecting face features and scrapped the concept of using it because of slow detection speeds and too many incorrect results.
We tried pushing the computation off to the GPU and that actually slowed things down.
Just one data point if you're looking in to this now. I'm sure devices are faster now, but how much, I can't say.
Cheers,
Alex
On Jan 2, 2015, at 2:55 PM, Jens Alfke wrote:
>
>> On Jan 2, 2015, at 12:34 AM, Muhammad Hussein Nasrollahpour <email@hidden> wrote:
>>
>> I just got one solution to the problem. Instead of using CI I can convert RGB to HSV and then create a mask for face features e.g. lips, eyes, etc. but
>> 1. How to use hue to create a mask for different face features?
>
> Are you talking about implementing your own algorithm for facial feature detection? There's a whole lot more to it than just converting the color space! It's fairly advanced stuff — it's been a hot topic in artificial-intelligence research since the 1960s, and only became commercially feasible within the last 10 years due to fast CPUs and GPUs.
>
> You can probably search for research papers on facial analysis and feature detection (Google Scholar is a good way to find them) but be aware that this is not the kind of thing you can do in a weekend; it's more of a grad-school thesis project.
>
> —Jens
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden