Handwriting Recognition iOS App

This project is an iOS application that uses Google’s MLKit’s Digital Ink Recognition capabilities to identify handwritten text. It includes a custom UIView subclass that serves as a writing canvas. The UIView includes a grid layout for structured input.

Screenshot 2023-06-11 at 2 38 48 AM


  • Handwriting input: Users can input handwriting using their finger or a stylus. The input is captured in a custom UIView that includes gridlines for structure.
  • Handwriting recognition: The app uses Google’s MLKit’s Digital Ink Recognition to process the handwriting input and convert it into digital text.


To run this project, you will need to:

  1. Clone the repo: git clone https://github.com/your-repo/handwriting-recognition.git
  2. Open the .xcworkspace file in Xcode.
  3. Ensure that you have CocoaPods installed. If not, you can install it with
  4. Install the necessary pods with pod install.
  5. Build and run the project in Xcode.


To use the app:

  1. Tap anywhere in the grid to start writing.
  2. Lift your finger or stylus to finish a stroke.
  3. When you finish writing, the app automatically processes your input and converts it into digital text.


This app uses the following third-party libraries:

  • MLKit: This library is used for handwriting recognition.


Contributions to this project are welcome. Please open an issue to discuss your proposed changes before making a pull request.


This project is licensed under the terms of the MIT license. See LICENSE for more information.


View Github