This post continues my summary of lessons learned in implementing SwiftSquareCam, a Swift version of Apple’s SquareCam demo project. As described in my prior post, the original Objective-C code provided a number of core features: – taking input from either the front or back cameras, if both are present, and …

Video Preview and Facial Recognition in Swift, Part 2: Saving a Photo with Overlays Read more »

Recently I set out to implement Apple’s SquareCam demo app for iOS in Swift. The experience proved interesting for a number of reasons, one of which I’ve already discussed: Swift’s apparent preference for optional chaining in lieu of other error detection and handling …

Video Preview and Facial Recognition in Swift, Part 1: Affine Transforms Read more »