Skip to content

had fun with mlmodel, drawable uiimageview and hiragana

License

Notifications You must be signed in to change notification settings

Keuha/hiraganaOCRTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiraganaOCRTest

had fun with mlmodel, drawable uiimageview and hiragana

This test is higly inspired by an article from Melody Yang

However the drawable implementation for writing the Hiragana was not the best Idea.

Using only Bezier path for your drawable area will result in severe lack of performance if user start drawing something else and will result, in the end, into a crash of your app. note quite what you'd like I guess.

Plus, to avoid caputring a UIView, to transform it in a UIImageView, I'm using a UIImageview from the begining. DrawableCanvas can be used by whoever need a drawable suface, it just needs you to implement DrawabaleCanvasDelegate

Result

Not quite what expected, model is probably not train enough or i'm doing mistakes with image tranformation to bytes. most of the time, regading less the hiragana you just draw け will be recognized.

readdme made using stackedit

About

had fun with mlmodel, drawable uiimageview and hiragana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages