iOSDev
iOSDev

Reputation: 995

Face Detection Using Core Image iOs

I'm trying to make an app using Core Image which detects human faces and extracts their eyes. The problem is it detects animal faces as well. Can anyone please tell me if there is a way to avoid animal face detection from that using Core Image itself, or is there any condition to do so?

Upvotes: 0

Views: 688

Answers (1)

greymouser
greymouser

Reputation: 3181

The CIFaceFeature class can give you the positions of eyes, mouth, isSmiling, etc. Hypothetically, you could manually check for "out of bounds" type features, which may imply an animal, a drawing, and not a human.

Upvotes: 1

Related Questions