Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
### 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.