Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AIアプリ5分クッキング/20181215-yuruit-vol5

 AIアプリ5分クッキング/20181215-yuruit-vol5

2018-12-15 「ゆるゆるIT勉強会 feat.Reedex Vol.5」の資料です

Avatar for Satoshi SAKAO

Satoshi SAKAO

December 15, 2018
Tweet

More Decks by Satoshi SAKAO

Other Decks in Programming

Transcript

  1. ゆく年くる年 画像分類アプリ J5 材料 1人分 Mac(Mojave) 1台 Xcode(10+) 1式 ソースコード

    4行 学習用画像 各10枚以上 盛り付け例 クリスマスツリー サンタ 門松 獅子舞 クリスマスツリー!
  2. CreateMLとは • CoreMLフレームワークの一部 • macOS上で機械学習(CoreML)モデルを作るためのもの • iOSでの学習には対応していない • macOS 10.14(Mojave)+

    / Xcode 10.0+ • 作れるモデル • 画像分類(MLImageClassifier) ※これのみPlayground用のUIが提供されている • 文書分類(MLTextClassifier) • 数値データ分類・回帰(MLDataTable) • 学習用データを与えるだけで作成可能 • PhotosやSiriの基盤を利用しているので,モデルを小さく短時間で学習可能 J16
  3. 参考 • Create ML | Apple Developer Documentation • https://developer.apple.com/documentation/createml

    • Creating an Image Classifier Model | Apple Developer Documentation • https://developer.apple.com/documentation/createml/creating_an_image_classifier_model • GitHub - hellock/icrawler: A multi-thread crawler framework with many builtin image crawlers provided. • https://github.com/hellock/icrawler • 機械学習用の画像を集めるのにicrawlerが便利だった - Qiita • https://qiita.com/tkt989/items/84c6581dfa1d9a42dc2d) • Classifying Images with Vision and Core ML | Apple Developer Documentation • https://developer.apple.com/documentation/vision/ classifying_images_with_vision_and_core_ml J18