Optimizations - single CIDetector object for the class, and avoiding changes to images that do not have faces in them.