The Accelerate framework can be very useful for performance optimization, especially if your application intensively does some vector and matrix math, or signal and image processing. We will learn how to link the framework and process OpenCV matrices with it.
All the source code changes will be localized in the
CvEffects library, so you can use the same
Recipe15_DetectingFacialFeatures project. Again, you can't use Simulator, as we're going to use the camera.
In the previous recipe, we have profiled the
FaceAnimator class and slightly improved the facial feature detection time by tuning the parameters. But the very first preprocessing step was still quite expensive, and we're ...