Sample app that predicts the flower type on an image, using Core ML and the Oxford 102 category flower dataset.
- iOS 11.0+
- Xcode 9.0+
- Swift 3.0+
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
Available under the MIT license. See the LICENSE file for more info.