项目作者: albertChien-tw

项目描述 :
一個微軟Azure的AI平台套件
高级语言: Swift
项目地址: git://github.com/albertChien-tw/DBCoreML.git
创建时间: 2018-05-08T10:38:14Z
项目社区:https://github.com/albertChien-tw/DBCoreML

开源协议:MIT License

下载


DBCoreML

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

DBCoreML is available through CocoaPods. To install
it, simply add the following line to your Podfile:

  1. pod 'DBCoreML'

Useage

upload images to server

  1. self.mlClient.createImagesFromData(images: self.images, tagIds: tagArrs, completion: { (success) in
  2. print(success)
  3. })

train the model

  1. self.mlClient.trainProject(completion: { (success) in
  2. if success{
  3. }
  4. })

Finding the Latest Model Update Immediately Use the Local Model if an Error Occurs

  1. self.mlClient.setUpModel(directory: .documentDirectory, modelName: "Landmark", localModel: Landmark().model)

List the pictures and tags in the model

  1. self.mlClient.queryImage(istaged: .tagged, completion: { (photos, error) in
  2. })

Author

dabechien, remix3966@gmail.com

License

DBCoreML is available under the MIT license. See the LICENSE file for more info.