All Projects → r4ghu → Ios Coreml Mnist

r4ghu / Ios Coreml Mnist

Real-time Number Recognition using Apple's CoreML 2.0 and MNIST -

Projects that are alternatives of or similar to Ios Coreml Mnist

Mnist draw
This is a sample project demonstrating the use of Keras (Tensorflow) for the training of a MNIST model for handwriting recognition using CoreML on iOS 11 for inference.
Stars: ✭ 139 (+87.84%)
Mutual labels:  jupyter-notebook, coreml, mnist
Medmnist
[ISBI'21] MedMNIST Classification Decathlon: A Lightweight AutoML Benchmark for Medical Image Analysis
Stars: ✭ 338 (+356.76%)
Mutual labels:  jupyter-notebook, mnist
Deep Learning From Scratch
Six snippets of code that made deep learning what it is today.
Stars: ✭ 255 (+244.59%)
Mutual labels:  jupyter-notebook, mnist
Build Ocr
Build an OCR for iOS apps
Stars: ✭ 17 (-77.03%)
Mutual labels:  jupyter-notebook, coreml
Gan Tutorial
Simple Implementation of many GAN models with PyTorch.
Stars: ✭ 227 (+206.76%)
Mutual labels:  jupyter-notebook, mnist
MNIST-CoreML
Predict handwritten digits with CoreML
Stars: ✭ 63 (-14.86%)
Mutual labels:  mnist, coreml
Early Stopping Pytorch
Early stopping for PyTorch
Stars: ✭ 612 (+727.03%)
Mutual labels:  jupyter-notebook, mnist
Pytorch Mnist Vae
Stars: ✭ 32 (-56.76%)
Mutual labels:  jupyter-notebook, mnist
Mnist Ewc
Implementation of ews weight constraint mentioned in recent Deep Mind paper: http://www.pnas.org/content/early/2017/03/13/1611835114.full.pdf
Stars: ✭ 9 (-87.84%)
Mutual labels:  jupyter-notebook, mnist
Shapedetector keras coreml
Deep learning installed Shape Detector using Keras and CoreML 📱
Stars: ✭ 25 (-66.22%)
Mutual labels:  jupyter-notebook, coreml
Tf Vqvae
Tensorflow Implementation of the paper [Neural Discrete Representation Learning](https://arxiv.org/abs/1711.00937) (VQ-VAE).
Stars: ✭ 226 (+205.41%)
Mutual labels:  jupyter-notebook, mnist
Svhn Cnn
Google Street View House Number(SVHN) Dataset, and classifying them through CNN
Stars: ✭ 44 (-40.54%)
Mutual labels:  jupyter-notebook, mnist
Pratik Derin Ogrenme Uygulamalari
Çeşitli kütüphaneler kullanılarak Türkçe kod açıklamalarıyla TEMEL SEVİYEDE pratik derin öğrenme uygulamaları.
Stars: ✭ 200 (+170.27%)
Mutual labels:  jupyter-notebook, mnist
digitrecognition ios
Deep Learning with Tensorflow/Keras: Digit recognition based on mnist-dataset and convolutional neural-network on iOS with CoreML
Stars: ✭ 23 (-68.92%)
Mutual labels:  mnist, coreml
Ios Coreml Yolo
Almost Real-time Object Detection using Apple's CoreML and YOLO v1 -
Stars: ✭ 153 (+106.76%)
Mutual labels:  jupyter-notebook, coreml
Keras Openface
Keras-OpenFace is a project converting OpenFace from Torch implementation to a Keras version
Stars: ✭ 538 (+627.03%)
Mutual labels:  jupyter-notebook, coreml
Pytorch
PyTorch tutorials A to Z
Stars: ✭ 87 (+17.57%)
Mutual labels:  jupyter-notebook, mnist
Generative adversarial networks 101
Keras implementations of Generative Adversarial Networks. GANs, DCGAN, CGAN, CCGAN, WGAN and LSGAN models with MNIST and CIFAR-10 datasets.
Stars: ✭ 138 (+86.49%)
Mutual labels:  jupyter-notebook, mnist
Har Keras Coreml
Human Activity Recognition (HAR) with Keras and CoreML
Stars: ✭ 23 (-68.92%)
Mutual labels:  jupyter-notebook, coreml
Relativistic Average Gan Keras
The implementation of Relativistic average GAN with Keras
Stars: ✭ 36 (-51.35%)
Mutual labels:  jupyter-notebook, mnist

iOS-CoreML-MNIST

This is the implementation of Number recognition using Keras-MNIST model on Apple's CoreML Framework.

The app fetches image from your hand writing and perform number recognition in real-time.

Requirements

  • Xcode 12.0
  • iOS 14.0
  • For training: Python 3.6 (Keras 2.1.6, TensorFlow 1.5.0, CoreMLTools 2.0b1)

Usage

To use this app, open iOS-CoreML-MNIST.xcodeproj in Xcode 12 and run it on a device with iOS 14. (You can also use simulator)

Training

If you want to train your own custom model, follow the tutorial given below to create an anaconda environment. Enter the environment and run the following commands in terminal with ./nnet as master directory.

(coreml) $ python train.py
(coreml) $ python convert.py

I also included a jupyter notebook for better understanding the above code. You need to use it with root permissions for mainly converting the keras model to CoreML model. Initialise the jupyter notebook instance with the following command:

(coreml) $ jupyter notebook --allow-root

Tutorial

If you are interested in training your custom MNIST model from scratch, a step-by-step tutorial is available at - Link

Results

These are the results of the app when tested on iPhone 7.

Result 1 Result 1 Result 1 Result 1 Result 1 Result 1 Result 1 Result 1 Result 1 Result 1 Result 1

Author

Sri Raghu Malireddi / @r4ghu

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].