List of Machine Learning, AI, NLP solutions for iOS. The most recent version of this article can be found on my blog.
See the codeLast Update: January 12, 2018.
Curated list of resources for iOS developers in following topics:
Most of the de-facto standard tools in AI-related domains are written in iOS-unfriendly languages (Python/Java/R/Matlab) so finding something appropriate for your iOS application may be a challenging task.
This list consists mainly of libraries written in Objective-C, Swift, C, C++, JavaScript and some other languages that can be easily ported to iOS. Also, I included links to some relevant web APIs, blog posts, videos and learning materials.
Resources are sorted alphabetically or randomly. The order doesn't reflect my personal preferences or anything else. Some of the resources are awesome, some are great, some are fun, and some can serve as an inspiration.
Have fun!
Pull-requests are welcome here.
Currently CoreML is compatible (partially) with the following machine learning packages via coremltools python package:
Third-party converters to CoreML format are also available for some models from:
There are many curated lists of pre-trained neural networks in Core ML format: [1], [2], [3].
Core ML currently doesn't support training models, but still, you can replace model by downloading a new one from a server in runtime. Here is a demo of how to do it. It uses generator part of MNIST GAN as Core ML model.
| Library | Algorithms | Language | License | Code | Dependency manager |
|---|---|---|---|---|---|
| AIToolbox |
| Swift | Apache 2.0 | ||
dlib |
| C++ | Boost | GitHub | |
| FANN |
| C++ | GNU LGPL 2.1 | GitHub | Cocoa Pods |
| lbimproved | k-nearest neighbors and Dynamic Time Warping | C++ | Apache 2.0 | GitHub | |
| MAChineLearning |
| Objective-C | BSD 3-clause | GitHub | |
![]() MLKit |
| Swift | MIT | GitHub | Cocoa Pods |
![]() Mendel | Evolutionary/genetic algorithms | Swift | ? | GitHub | |
| multilinear-math |
| Swift | Apache 2.0 | GitHub | Swift Package Manager |
OpenCV |
| C++ | 3-clause BSD | GitHub | Cocoa Pods |
![]() Shark |
| C++ | GNU LGPL | GitHub | Cocoa Pods |
![]() YCML |
| Objective-C | GNU GPL 3.0 | GitHub | |
Kalvar Lin's libraries |
| Objective-C | MIT | GitHub |
Multilayer perceptron implementations:
These libraries doesn't support training, so you need to pre-train models in some ML framework.
OpenCL for iOS - just a test.
Exploring GPGPU on iOS.
GPU-accelerated video processing for Mac and iOS. Article.
Concurrency and OpenGL ES - Apple programming guide.
OpenCV on iOS GPU usage - SO discussion.
Please note that in this section, I'm not trying to collect another list of ALL machine learning study resources, but only composing a list of things that I found useful.
35 followers · starred May 2017
345 followers · starred Jul 2017
262 followers · starred Jun 2018
740 followers · starred Jun 2017
List of Machine Learning, AI, NLP solutions for iOS. The most recent version of this article can be found on my blog.
See the codeLast Update: January 12, 2018.
Curated list of resources for iOS developers in following topics:
Most of the de-facto standard tools in AI-related domains are written in iOS-unfriendly languages (Python/Java/R/Matlab) so finding something appropriate for your iOS application may be a challenging task.
This list consists mainly of libraries written in Objective-C, Swift, C, C++, JavaScript and some other languages that can be easily ported to iOS. Also, I included links to some relevant web APIs, blog posts, videos and learning materials.
Resources are sorted alphabetically or randomly. The order doesn't reflect my personal preferences or anything else. Some of the resources are awesome, some are great, some are fun, and some can serve as an inspiration.
Have fun!
Pull-requests are welcome here.
Currently CoreML is compatible (partially) with the following machine learning packages via coremltools python package:
Third-party converters to CoreML format are also available for some models from:
There are many curated lists of pre-trained neural networks in Core ML format: [1], [2], [3].
Core ML currently doesn't support training models, but still, you can replace model by downloading a new one from a server in runtime. Here is a demo of how to do it. It uses generator part of MNIST GAN as Core ML model.
| Library | Algorithms | Language | License | Code | Dependency manager |
|---|---|---|---|---|---|
| AIToolbox |
| Swift | Apache 2.0 | ||
dlib |
| C++ | Boost | GitHub | |
| FANN |
| C++ | GNU LGPL 2.1 | GitHub | Cocoa Pods |
| lbimproved | k-nearest neighbors and Dynamic Time Warping | C++ | Apache 2.0 | GitHub | |
| MAChineLearning |
| Objective-C | BSD 3-clause | GitHub | |
![]() MLKit |
| Swift | MIT | GitHub | Cocoa Pods |
![]() Mendel | Evolutionary/genetic algorithms | Swift | ? | GitHub | |
| multilinear-math |
| Swift | Apache 2.0 | GitHub | Swift Package Manager |
OpenCV |
| C++ | 3-clause BSD | GitHub | Cocoa Pods |
![]() Shark |
| C++ | GNU LGPL | GitHub | Cocoa Pods |
![]() YCML |
| Objective-C | GNU GPL 3.0 | GitHub | |
Kalvar Lin's libraries |
| Objective-C | MIT | GitHub |
Multilayer perceptron implementations:
These libraries doesn't support training, so you need to pre-train models in some ML framework.
OpenCL for iOS - just a test.
Exploring GPGPU on iOS.
GPU-accelerated video processing for Mac and iOS. Article.
Concurrency and OpenGL ES - Apple programming guide.
OpenCV on iOS GPU usage - SO discussion.
Please note that in this section, I'm not trying to collect another list of ALL machine learning study resources, but only composing a list of things that I found useful.
35 followers · starred May 2017
345 followers · starred Jul 2017
262 followers · starred Jun 2018
740 followers · starred Jun 2017