arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2103.16150cs.CVcs.LG
收藏

FONTNET:设备上字体理解和预测管道

FONTNET: On-Device Font Understanding and Prediction Pipeline

Samsung R&D Institute India(三星印度研发研究院)

Rakshith S, Rishabh Khurana, Vibhav Agarwal, Jayesh Rajkumar Vachhani, Guggilla Bhanodai

摘要:

字体是最基本、最核心的设计概念之一。许多用例都可以从深入了解字体中受益,例如文本自定义,它可以更改图像中的文本,同时保持字体属性,如样式,颜色,大小。目前,文本识别解决方案可以基于换行符或段落分隔符对识别的文本进行分组,如果字体属性已知,则可以基于上下文以有意义的方式组合多个文本块。在本文中,我们提出了两个引擎:字体检测引擎,它确定的字体样式,颜色和大小属性的文本在图像和字体预测引擎,预测相似的字体查询字体。本文的主要贡献有三方面:首先,我们开发了一种新的CNN架构,用于识别图像中文本的字体风格。其次,我们设计了一种新的算法来预测相似的字体为一个给定的查询字体。第三,我们优化并部署了整个引擎On-Device,以确保隐私并改善即时消息等实时的应用程序的延迟。我们实现了最坏情况下的设备上的推理时间为30毫秒,模型大小为4.5MB的两个引擎。

英文摘要:

Fonts are one of the most basic and core design concepts. Numerous use cases can benefit from an in depth understanding of Fonts such as Text Customization which can change text in an image while maintaining the Font attributes like style, color, size. Currently, Text recognition solutions can group recognized text based on line breaks or paragraph breaks, if the Font attributes are known multiple text blocks can be combined based on context in a meaningful manner. In this paper, we propose two engines: Font Detection Engine, which identifies the font style, color and size attributes of text in an image and a Font Prediction Engine, which predicts similar fonts for a query font. Major contributions of this paper are three-fold: First, we developed a novel CNN architecture for identifying font style of text in images. Second, we designed a novel algorithm for predicting similar fonts for a given query font. Third, we have optimized and deployed the entire engine On-Device which ensures privacy and improves latency in real time applications such as instant messaging. We achieve a worst case On-Device inference time of 30ms and a model size of 4.5MB for both the engines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑