Skip to main content

Posts

Showing posts with the label Machine Learning

Image Recognition Example Using CreateML #IOSDev

Hello everyone, in this tutorial I would like to share about using CreateML Framework to recognition image. in the end of this tutorial we will achieve model from training data that can be use to be mlmodel in xcode.  like example bellow above picture means picture orange that we put on that view has recognise that it is an orange. so cool is'nt it? lets go ahead.   first, create and playground project and then choose macOS platform, like bellow. note : we need to choose macOS project because, the framework that we use is only available on macOS platform.  after that, put the code bellow in playground editor.  and then run it when you run the code, MLUI will appear beside your editor, we use the MLUI to put our data training. so in the next step, you need to prepare the training data. in this tutorial I have collecting training data about some fruits, apple and orange. you could download it here drag the training fol...