croath/UIImageView-BetterFace
croath/UIImageView-BetterFace has 768 GitHub stars and 93 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 10:03 UTC. Last push 2017-04-17.
实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
a UIImageView category to let the picture-cutting with faces showing better
开发工具README.md
原文UIImageView-BetterFace
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?
- Have problems showing the resized image previews?
- People in the preview only have chins but not faces?
- A group photo doesn't look well?
Try UIImageView-BetterFace!
Like this:

##How?
- Drag
UIImageView+BetterFace.handUIImageView+BetterFace.mto your project - Add CoreImage.framework to your project
- Import the .h file
- Add this:
[anImageView setNeedsBetterFace:YES]; - If you want all
setImage:methods do the magic: Addhack_uiimageview_bf();to yourmainfunction; Otherwise callsetBetterFaceImage:for every image you want to make the face detection. - Done
- Still have problems? clone the project and see the demo.
##Too slow?
try set the fast property to YES to get the faster speed(lower accuracy)
##Known issues
- it will be slow to render large-size images, and showing the strange animation
- it may take a lot of memory while reusing the UIImageView
##Who use BetterFace?
- App of http://getprix.com
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.