CoreML-Flowers icon indicating copy to clipboard operation
CoreML-Flowers copied to clipboard

Sample app that predicts the flower type on an image, using Core ML and the Oxford 102 category flower dataset.

​ CoreML-Flowers

PlatformLanguageLicense

About

Sample app that predicts the flower type on an image, using Core ML and the Oxford 102 category flower dataset.

Requirements

  • iOS 11.0+
  • Xcode 9.0+
  • Swift 3.0+

Usage

You'll need to produce the .mlmodel in order to use the app.

Download the .caffemodel (~230Mb) here, move it into the conversion folder, and run the script as follows:

$ python FlowerModeltoCoreML.py

Drag the FlowerClassifier.mlmodel into the Xcode project and you can run it!

For additionnal info, please read the article: https://medium.com/@gaelfoppolo/introduction-to-core-ml-conversion-tool-d1466bf10018

License

Available under the MIT license. See the LICENSE file for more info.