Join Simon Allardice for an in-depth discussion in this video Choosing an approach, part of Code Clinic: Swift.
- We've discovered there seems to be…no built-in, easy way to do this.…No feature in the standard iOS or Mac SDKs…that will directly allow us to do template matching.…But I still have to solve this problem,…so there are three main ways I can now approach this.…Option 1, find an external code library…that does image template matching.…If there's no built-in functionality, what third-party…libraries are available that do this?…The top two contenders here would be OpenCV or ImageMagick.…Either of these we could use.…OpenCV is probably the one that I would go with.…
This is a fantastic open source image processing…or computer vision, CV, library.…It's written in CC++, it's fast and wonderfully, it does…have an image template matching function.…Now OpenCV is not written specifically…for Swift of course, but we could use this library…in our Mac and iOS projects.…Using OpenCV, a perfectly valid approach.…It is one I would almost certainly go with under…different circumstances, but it's not what I'm gonna do…here and now because well, first, this is Swift Code Clinic.…
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.