UIImageView_FaceAwareFill icon indicating copy to clipboard operation
UIImageView_FaceAwareFill copied to clipboard

Speed/Efficiency

Open rbarbish opened this issue 10 years ago • 2 comments

First off, this framework works great and it is extremely easy to use. Thank you creating it and making it open source! Although - I am experiencing fairly considerable decrease in performance though. Has anyone else reported such an issue? There is noticeable lag / slowness navigating to screens where we are performing the [uiimageview faceawarefill] where there wasn't any before with a standard aspectfill. Any insight or guidance would be greatly appreciated. Thanks!

Note: My accuracy is set to low (still appears to be detecting faces perfectly)

rbarbish avatar Jun 19 '14 14:06 rbarbish

Hi! Thanks for your kind words, yes, this category was build to be easy to use not to be performant :P Out of the box the face detection is very slow, specially in old hardwares as iPad 2 & 3 or iPhone 4. I suggest using this other framework instead: https://github.com/croath/UIImageView-BetterFace Is not as easy to integrate but performance is not an issue there.

I might rewrite mine to be a little more efficient but that is not top priority on my TODO list :(

I'll keep this issue open as a reminder so I come back later and work on this.

See you later!

Julioacarrettoni avatar Jun 19 '14 20:06 Julioacarrettoni

Thanks for the quick response :). I'll look into integrating that and seeing if it performs any better. Have a good one - Ross

rbarbish avatar Jun 19 '14 20:06 rbarbish