a UIImageView category to let the picture-cutting with faces showing better
A UIImageView extension to let the picture-cutting with faces showing better
Last update in v0.2_stable : add a UIImage+BetterFace category, so clipping images becomes possible(clap!)
Looking for an Android version? Check this! [https://github.com/beartung/tclip-android]
##Why?
Try UIImageView-BetterFace!
Like this:
##How?
UIImageView+BetterFace.h
and UIImageView+BetterFace.m
to your project[anImageView setNeedsBetterFace:YES];
setImage:
methods do the magic: Add hack_uiimageview_bf();
to your main
function; Otherwise call setBetterFaceImage:
for every image you want to make the face detection.##Too slow?
try set the fast
property to YES
to get the faster speed(lower accuracy)
##Known issues
##Who use BetterFace?
If you're building your applications using UIImageView-BetterFace, please let me know! (add your application name & App Store link here and pullreuqest this README~
##Debugging
Add BF_DEBUG
to your pre compile macros or #define BF_DEBUG
to your prefix.pch
file in order to see turn ON debugging logs on the console.
##Other
Any issue and pull request is welcome.