Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cocoa-ai/flowersvisiondemo
🌸 iOS11 demo application for flower classification.
https://github.com/cocoa-ai/flowersvisiondemo
coreml flower-classification ios machine-learning swift swift4 vision
Last synced: about 2 months ago
JSON representation
🌸 iOS11 demo application for flower classification.
- Host: GitHub
- URL: https://github.com/cocoa-ai/flowersvisiondemo
- Owner: cocoa-ai
- License: mit
- Created: 2017-06-29T21:55:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T15:02:12.000Z (9 months ago)
- Last Synced: 2024-08-10T14:20:56.028Z (4 months ago)
- Topics: coreml, flower-classification, ios, machine-learning, swift, swift4, vision
- Language: Swift
- Homepage: https://github.com/cocoa-ai
- Size: 1.48 MB
- Stars: 100
- Watchers: 4
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flowers Vision Demo
iOS11 demo application for flower classification using `Vision` and `CoreML`
frameworks.
## Model
This demo is based on [Caffe CNNs for the Oxford 102 flower dataset](https://github.com/jimgoo/caffe-oxford102),
which was converted to [CoreML model](https://drive.google.com/file/d/1mg0V6xsQJ18yYfKORtZA506cZgdiqfGS/view?usp=sharing)
using [coremltools](https://pypi.python.org/pypi/coremltools) python package.## Requirements
- Xcode 9
- iOS 11## Installation
```sh
git clone https://github.com/cocoa-ai/FlowersVisionDemo.git
cd FlowersVisionDemo
pod install
open Flowers.xcworkspace/
```Download the [CoreMl model](https://drive.google.com/file/d/0B1ghKa_MYL6meDBHT2NaZGxkNzQ/view?usp=sharing)
and add the file to "Resources" folder in the project's directory.Build the project and run it on a simulator or a device with iOS 11.
## Conversion
```sh
cd Convert
./download.sh
python convert.py
```## Author
Vadym Markov, [email protected]
## Credits
- [Classifying images in the Oxford 102 flower dataset with CNNs](http://jimgoo.com/flower-power/)
- Photo in the demo is taken from [Flickr](https://flic.kr/p/2zjdHr) and is
distributed under [Attribution 2.0 Generic (CC BY 2.0) license](https://creativecommons.org/licenses/by/2.0/legalcode)## References
- [Caffe Model Zoo](https://github.com/caffe2/caffe2/wiki/Model-Zoo)
- [Apple Machine Learning](https://developer.apple.com/machine-learning/)
- [Vision Framework](https://developer.apple.com/documentation/vision)
- [CoreML Framework](https://developer.apple.com/documentation/coreml)
- [coremltools](https://pypi.python.org/pypi/coremltools)