5

✨ 中文字体识别 [附在线 demo link] !(CJK 字体夹杂英文均可)

 2 years ago
source link: https://www.v2ex.com/t/931420
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  分享创造

✨ 中文字体识别 [附在线 demo link] !(CJK 字体夹杂英文均可)

  JeffersonQin · JeffersonQin · 1 小时 33 分钟前 · 226 次点击

相关方面的研究最近查得到的只有 Adobe 2015 年的 Deepfont (只有英文数据集),还有南开大学的 SwordNet (只能识别非常朴素的单字图片)。

是 YuzuMarker 的支线项目(咕咕咕了好久了,先糊个这个出来

项目地址: https://github.com/JeffersonQin/YuzuMarker.FontDetection 数据集是基于 VCB-Studio 的字体集自己造的

feature:

  • 支持复杂背景
  • 支持复杂文本样式(包括中空、旋转、不同大小、行数、行间距,etc.)
  • 可以识别字体样式(模型输出是有的但是 UI 还没做,WIP )

使用事项:

  • 尽量贴合文本

部署在 Huggingface Space 上的 Online Demo: https://huggingface.co/spaces/gyrojeff/YuzuMarker.FontDetection

用的是免费的 CPU 的机子所以速度可能要个十几秒(

如果觉得有用的话欢迎 star / pr / issue

效果图:

jSs3DlqB.png
Fepi6DXa.png

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK