Skip to content

nutc-imac-team/DBCoreML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

pod 'DBCoreML'

Useage

upload images to server

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

train the model

self.mlClient.trainProject(completion: { (success) in
if success{
}
})

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

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

List the pictures and tags in the model

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

})

Author

dabechien, [email protected]

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.5%
  • Ruby 3.5%