All Projects → applicable-ml → Awesome Ml Demos With Ios

applicable-ml / Awesome Ml Demos With Ios

Licence: mit
The challenge projects for Inferencing machine learning models on iOS

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Awesome Ml Demos With Ios

Tnn
TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and …
Stars: ✭ 3,257 (+339.54%)
Mutual labels:  inference, coreml
Pytorch Cpp
PyTorch C++ inference with LibTorch
Stars: ✭ 194 (-73.82%)
Mutual labels:  demo, inference
Ncnn Benchmark
The benchmark of ncnn that is a high-performance neural network inference framework optimized for the mobile platform
Stars: ✭ 70 (-90.55%)
Mutual labels:  demo, inference
awesome-ml-demos-with-ios
The challenge projects for Inferencing machine learning models on iOS
Stars: ✭ 1,040 (+40.35%)
Mutual labels:  inference, coreml
Gestureai Coreml Ios
Hand-gesture recognition on iOS app using CoreML
Stars: ✭ 145 (-80.43%)
Mutual labels:  demo, coreml
Unsplashexplorer Coreml
Core ML demo app with Unsplash API
Stars: ✭ 358 (-51.69%)
Mutual labels:  demo, coreml
Vue Typescript Dpapp Demo
🔥 Let's start with TypeScript
Stars: ✭ 613 (-17.27%)
Mutual labels:  demo
Vscode Plugin Demo
VSCode插件开发全攻略配套demo
Stars: ✭ 647 (-12.69%)
Mutual labels:  demo
Mmdnn
MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML.
Stars: ✭ 5,472 (+638.46%)
Mutual labels:  coreml
Weapp Vue Eggjs Shop Demo
商城、商店批发或零售,pc管理端 + 微信小程序 + 后端服务
Stars: ✭ 604 (-18.49%)
Mutual labels:  demo
Rasa chatbot cn
building a chinese dialogue system based on the newest version of rasa(基于最新版本rasa搭建的对话系统)
Stars: ✭ 723 (-2.43%)
Mutual labels:  demo
Autolayoutexamplewithmasonry
Different Autolayout examples with Masonry. 用Masonry写的Autolayout案例,持续更新中。详细解答请看tutuge.me
Stars: ✭ 694 (-6.34%)
Mutual labels:  demo
Pinto model zoo
A repository that shares tuning results of trained models generated by TensorFlow / Keras. Post-training quantization (Weight Quantization, Integer Quantization, Full Integer Quantization, Float16 Quantization), Quantization-aware training. TensorFlow Lite. OpenVINO. CoreML. TensorFlow.js. TF-TRT. MediaPipe. ONNX. [.tflite,.h5,.pb,saved_model,tfjs,tftrt,mlmodel,.xml/.bin, .onnx]
Stars: ✭ 634 (-14.44%)
Mutual labels:  coreml
Tf trt models
TensorFlow models accelerated with NVIDIA TensorRT
Stars: ✭ 621 (-16.19%)
Mutual labels:  inference
Windows Machine Learning
Samples and Tools for Windows ML.
Stars: ✭ 663 (-10.53%)
Mutual labels:  coreml
Lua Language Server
Lua Language Server coded by Lua
Stars: ✭ 607 (-18.08%)
Mutual labels:  inference
Demoit
Live coding demos without Context Switching
Stars: ✭ 717 (-3.24%)
Mutual labels:  demo
Amazon Sagemaker Examples
Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
Stars: ✭ 6,346 (+756.41%)
Mutual labels:  inference
Wechat Miniprogram Examples
WeChat mini program examples. 微信小程序示例
Stars: ✭ 634 (-14.44%)
Mutual labels:  demo
Polygon Shredder
The polygon shredder that takes many cubes and turns them into confetti
Stars: ✭ 686 (-7.42%)
Mutual labels:  demo

Awesome Hits PRs Welcome GIF PRs More Welcome

This repo was moved from @motlabs group. Thanks for @jwkanggist who is a leader of motlabs community.

Awesome Machine Learning DEMOs with iOS

We tackle the challenge of using machine learning models on iOS via Core ML and ML Kit (TensorFlow Lite).

한국어 README

Contents

Machine Learning Framework for iOS

Flow of Model When Using Core ML

Flow of Model When Using Core ML

The overall flow is very similar for most ML frameworks. Each framework has its own compatible model format. We need to take the model created in TensorFlow and convert it into the appropriate format, for each mobile ML framework.

Once the compatible model is prepared, you can run the inference using the ML framework. Note that you must perform pre/postprocessing manually.

If you want more explanation, check this slide(Korean).

Flow of Model When Using Create ML

playground-createml-validation-001

Baseline Projects

DONE

  • Using built-in model with Core ML

  • Using built-in on-device model with ML Kit

  • Using custom model for Vision with Core ML and ML Kit

  • Object Detection with Core ML

TODO

  • Object Detection with ML Kit
  • Using built-in cloud model on ML Kit
    • Landmark recognition
  • Using custom model for NLP with Core ML and ML Kit
  • Using custom model for Audio with Core ML and ML Kit
    • Audio recognition
    • Speech recognition
    • TTS

Image Classification

Name DEMO Note
ImageClassification-CoreML

-
MobileNet-MLKit

-

Object Detection & Recognition

Name DEMO Note
ObjectDetection-CoreML

-
TextDetection-CoreML

-
TextRecognition-MLKit

-
FaceDetection-MLKit

-

Pose Estimation

Name DEMO Note
PoseEstimation-CoreML

-
PoseEstimation-TFLiteSwift -
PoseEstimation-MLKit

-
FingertipEstimation-CoreML

-

Depth Prediction

DepthPrediction-CoreML

-

Image Segmentation

Name DEMO Note
ImageSegmentation-CoreML

-

Application Projects

Name DEMO Note
dont-be-turtle-ios

-
WordRecognition-CoreML-MLKit(preparing...)

Detect character, find a word what I point and then recognize the word using Core ML and ML Kit.

Annotation Tool

Name DEMO Note
KeypointAnnotation

Annotation tool for own custom estimation dataset

Create ML Projects

Name Create ML DEMO Core ML DEMO Note
SimpleClassification-CreateML-CoreML IMG_0436 IMG_0436 A Simple Classification Using Create ML and Core ML

Performance

Execution Time: Inference Time + Postprocessing Time

(with iPhone X) Inference Time(ms) Execution Time(ms) FPS
ImageClassification-CoreML 40 40 23
MobileNet-MLKit 120 130 6
ObjectDetection-CoreML 100 ~ 120 110 ~ 130 5
TextDetection-CoreML 12 13 30(max)
TextRecognition-MLKit 35~200 40~200 5~20
PoseEstimation-CoreML 51 65 14
PoseEstimation-MLKit 200 217 3
DepthPrediction-CoreML 624 640 1
ImageSegmentation-CoreML 178 509 1
WordRecognition-CoreML-MLKit 23 30 14
FaceDetection-MLKit - - -

📏Measure module

You can see the measured latency time for inference or execution and FPS on the top of the screen.

If you have more elegant method for measuring the performance, suggest on issue!

Implements

Measure📏 Unit Test Bunch Test
ImageClassification-CoreML O X X
MobileNet-MLKit O X X
ObjectDetection-CoreML O O X
TextDetection-CoreML O X X
TextRecognition-MLKit O X X
PoseEstimation-CoreML O O X
PoseEstimation-MLKit O X X
DepthPrediction-CoreML O X X
ImageSegmentation-CoreML O X X

See also

WWDC

Core ML

Create ML and Turi Create

Common ML

Metal

AR

Examples

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].