Code Monkey home page Code Monkey logo

gokulpulikkal / handwritingrecognizer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 950 KB

This iOS app allows users to draw characters and numbers on a drawing view, and a machine learning model will recognize the input, displaying the results just below the drawing area. The underlying model was created as part of the Intro to Machine Learning course and converted from PyTorch to CoreML using coremltools

Swift 6.38% Jupyter Notebook 93.62%
coreml drawing emnist ml swift

handwritingrecognizer's Introduction

HandwritingRecognizer for iOS

Overview

This iOS app allows users to draw characters and numbers on a drawing view, and a machine learning model will recognize the input, displaying the results just below the drawing area. The underlying model was created as part of the Intro to Machine Learning course and converted from PyTorch to CoreML using coremltools.

Features

  • Drawing View: Users can draw characters and numbers using the drawing view provided.
  • Real-time Recognition: The machine learning model recognizes the input in real-time, updating the output below the drawing area.
  • EMNIST Model: The model is trained on the EMNIST dataset, enabling it to recognize a wide range of characters and numbers.

Installation

Prerequisites

  • Xcode 12 or later
  • iOS 14.0 or later

Steps

  1. Clone the repository:

    git clone https://github.com/gokulpulikkal/HandwritingRecognizer.git
  2. Open the project in Xcode:

    cd HandwritingRecognizer
    open MNISTRecogniser.xcodeproj
  3. Build and run the app on a simulator or a physical device.

Usage

  1. Open the app on your iOS device.
  2. Use the drawing view to draw characters or numbers.
  3. The model will recognize the input in real-time, and the results will be displayed below the drawing area.

Model Conversion

The model used in this app was originally trained using PyTorch. To convert it to CoreML, coremltools was employed. The conversion script can be found in the model_conversion directory.

Conversion Steps

run the ipynb file in the

model_conversion directory.

Acknowledgments

handwritingrecognizer's People

Contributors

gokul-max avatar gokulpulikkal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.