
This video is only available to subscribers. Start a subscription today to get access to this and 484 other videos.
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 episode is part of a series: Camera Capture and Detection.
1. Intro 1 min |
2. Setting Up The Project 9 min |
3. Camera Preview and Sample Buffer 10 min |
4. Drawing on Top of the Video Preview 14 min |
5. Fixing the Coordinates 7 min |
6. Perspective Outlining 9 min |
7. Camera Sounds and UI 12 min |
8. Rendering the Final Image 15 min |
9. Capturing High Resolution Photos 17 min |
10. Adding a Flash Toggle Camera Control 12 min |
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