ReadMe.txt
### SquareCam ### |
=========================================================================== |
DESCRIPTION: |
SquareCam demonstrates improvements to the AVCaptureStillImageOutput class in iOS 5, highlighting the following features: |
- KVO observation of the @"capturingStillImage" property to know when to perform an animation |
- Use of setVideoScaleAndCropFactor: to achieve a "digital zoom" effect on captured images |
- Switching between front and back cameras while showing a real-time preview |
- Integrating with CoreImage's new CIFaceDetector to find faces in a real-time VideoDataOutput, as well as in a captured still image. |
Found faces are indicated with a red square. |
- Overlaid square is rotated appropriately for the 4 supported device rotations. |
=========================================================================== |
BUILD REQUIREMENTS: |
Xcode 4.2 or later; iPhone iOS SDK 5.0 or later. |
=========================================================================== |
RUNTIME REQUIREMENTS: |
iOS 5.0 or later. This app will not deliver any camera output on the iOS simulator. |
=========================================================================== |
APIs USED: |
ALAssetsLibrary - to write to the photos library |
AVFoundation |
AVCaptureConnection |
AVCaptureDevice |
AVCaptureDeviceInput |
AVCaptureSession |
AVCaptureStillImageOutput |
AVCaptureVideoDataOutput |
AVCaptureVideoPreviewLayer |
CoreImage |
CIFaceDetector |
=========================================================================== |
Copyright (C) 2011 Apple Inc. All rights reserved. |
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-04-04