Tag Archives: iOS

New Tutorial – Image Handling in DeepLearningKit

There has been a few requests (on github issues and stackoverflow) about image handling in DeepLearningKit, this is about how to transform back-and-forth between bitmap format used in the Deep Learning (conv.net) calculation and UIImage used in tvOS and iOS DeepLearningKit demo apps (for OS X the issue is still unsolved since NSImage is slightly… Read More »

Video Tutorial – Using the DeepLearningKit example iOS app

This video shows how to use the standalone (very simple) example iOS app that comes with DeepLearningKit, the code can be found (as part of the main repository) at github.com/DeepLearningKit/DeepLearningKit/tree/master/iOSDeepLearningKitApp/iOSDeepLearningKitApp Viewcontroller.swift import UIKit class ViewController: UIViewController { var deepNetwork: DeepNetwork! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from… Read More »

Tutorial – Using DeepLearningKit with iOS for iPhone and iPad

Clone DeepLearningKit:  git clone https://github.com/DeepLearningKit/DeepLearningKit.git 2. Clone demo app: git clone https://github.com/DeepLearningKit/DeepLearningKitForiOSDemoApp.git 3. Open DeepLearningKitForiOSDemoApp.xcodeproj in xcode (e.g. from Finder) 4. Have a look at ViewController.swift – notice that import DeepLearningKitForiOS gives an error (in red) 5. Open Finder and Drag DeepLearningForiOS.xcodeproj over to the demo app in xcode 6. Highlighted line below shows how the framework DeepLearningForiOS.xcodeproj can… Read More »

DeepLearningKit – Deep Learning for iOS (tested on iPhone 6S), tvOS and OS X developed in Metal and Swift

In early October we purchased the new iPhone 6S and had high expectations of its GPU performance. One of the reasons for our expectations was a blog post by Simon Gladman where he wrote that iPhone 6S had 3 times the GPU performance of iPhone 6, this was also reported by TheNextWeb. In our GPU programming… Read More »