Update 2016-Feb-15 – recommend looking at the tutorial video below, it is an easier and more accurate way to get started with DeepLearningKit for iOS than the tutorial below, but the tutorial below can be used as supporting material.
- Clone DeepLearningKit: git clone https://github.com/DeepLearningKit/DeepLearningKit.git
2. Open DeepLearningKitForiOSDemoApp.xcodeproj in xcode (e.g. from Finder)
3. Have a look at ViewController.swift – notice that import DeepLearningKitForiOS gives an error (in red)
4. Open Finder and Drag DeepLearningForiOS.xcodeproj over to the demo app in xcode
5. Highlighted line below shows how the framework DeepLearningForiOS.xcodeproj can be included
6. Click on app settings (highlighted line in left part of Xcode) and go the General tab on the right
7. Scroll down to embedded binaries in General tab and add DeepLearningKitforiOS.frameworkiOS
8. Result afterwards should look something like this – embedded binaries down to the right
9. Drag the Shaders.metal file from DeepLearningKitForiOS into top project
(not quite sure why this needs to be done, but anyway)
10. Connect iPhone to your Mac (e.g. iPhone 6S), compile and run, should get something like this
Best regards,
Amund Tveit