apple / turicreate

Turi Create simplifies the development of custom machine learning models.
BSD 3-Clause "New" or "Revised" License
11.19k stars 1.14k forks source link

How about adding OCR algorithm? #827

Open vnnw opened 6 years ago

vnnw commented 6 years ago

Will Turicreate implement algorithms like ctpn + crnn for scene text detection and recognition?

gustavla commented 6 years ago

That would be a great toolkit. Thanks for the feature request! My only concern is that it would be hard for users to provide the necessary training data to train such a model. If you could tell us more about your use case and your data, that would be really useful for us.

If you don't need to prime the model for your own data, you can also try using the Vision framework, which has built-in OCR capabilities: https://developer.apple.com/documentation/vision/detecting_objects_in_still_images

vnnw commented 6 years ago

@gustavla Thanks for the kind reply and suggestions. I am working for a e-commerce company. So my usage scenario mainly involves bank card recognition( card number, card holder' name etc), as well as illegal text description detection on product image (such as bait contact information to lure visitors to trade off the site) , the texts are multiple lingual in Chinese, English etc.

gustavla commented 6 years ago

@vnnw Thanks for the info. We will consider this feature request!

By the way, there are OCR capabilities in the built-in Vision framework. It does not allow adapting the algorithm to your data though, but in many cases that may not be necessary.