Handwriting Input Recognition
December 12, 2018 · View on GitHub
Handwriting Input Recognition is a Swift app that allows the user to draw characters from a specified language and present the character in a text field. Character recognition is based on Tesseract OCR.
Compilation
- Launch
Handwriting Input Recognition.xcodeproj - Add your signing certificate under the Target Handwriting Input Recognition → General → Signing
- Build
Usage
- Draw character in bottom canvas
- Press
Enterto start OCR orEscapeto clear canvas - Choose the character that best matches your intended input above the canvas
- Continue to draw if results don't match and press
Enterto perform OCR again - Hold down
Cto copy the results in the text field to clipboard - Hold down
Escapeto reset the app
TODO
- Dynamically update possible character options as user draws
- Multiple character input + recognition
- Overlays for function running (Copied, Cleared etc)
- Add more languages
- Specify language (Currently recognition language is set to Japanese)
- Improve UI
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Libraries Used
- Tesseract (v3.05.01)
- Leptonica (v1.75.3)
- LibPNG (v1.6.34)
- LibTIFF (v4.0.9)
- LibJPEG (v9c)
- LibZ (v1.2.11)