After we have finished training and testing of our model you can export it and use in your own project. Here is an example iOS project that you can try your model in. This project has implementation of both running a model on still images from Gallery, and on live images. To use it you need to open the project, add you .mlmodel file to it, and then change
try VNCoreMLModel(for: Model().model) lines to name of a .mlmodel file that you have added to the project.