Drawing on Top of the Video Preview

Episode #297 | 14 minutes | published on August 11, 2017 | Uses Xcode-9.0-beta3, swift-4
Subscribers Only
We learn how to convert a CMSampleBuffer into a CIImage and how to set up our CIDetector to detect rectangles. We then draw a box around the detected rectangle and discuss why adding simple subviews won't work with full screen sublayers.
This recording was accidentally cut short by a few seconds. The next episode picks up very shortly after this one ends. Apologies for the error! - Ben

Episode Links

blog comments powered by Disqus