hollance / Inception-CoreML

Running Inception-v3 on Core ML
98 stars 28 forks source link
core-ml deep-learning inception-v3 ios machine-learning swift

Inception with CoreML

This is the Inception-v3 neural network running on the shiny new CoreML framework. It uses Inceptionv3.mlmodel from Apple's developer website.

It runs from a live video feed and performs a prediction as often as it can manage. If your device becomes too hot, change the setUpCamera() method in ViewController.swift to do videoCapture.fps = 5.

To use this app, open Inception.xcodeproj in Xcode 9 and run it on a device with iOS 11.

Screenshot

NOTE: The reported "elapsed" time is how long it takes the Inception-v3 neural net to process a single image. The FPS is the actual throughput achieved by the app.