厌倦了大众字体?你可以用这个项目自创一款手写体
机器之心报道
参与:Racoon X、Jamin
这个酷炫的手写体生成项目,网页版使用 TensorFlow.js 实现,模型仅 10M。
项目地址:https://github.com/sjvasquez/handwriting-synthesis
网页版 Demo:https://seanvasquez.com/handwriting-generation/
lines = [
"Now this is a story all about how",
"My life got flipped turned upside down",
"And I'd like to take a minute, just sit right there",
"I'll tell you how I became the prince of a town called Bel-Air",
]
biases = [.75 for i in lines]
styles = [9 for i in lines]
stroke_colors = ['red', 'green', 'black', 'blue']
stroke_widths = [1, 2, 1, 2]
hand = Hand()
hand.write(
filename='img/usage_demo.svg',
lines=lines,
biases=biases,
styles=styles,
stroke_colors=stroke_colors,
stroke_widths=stroke_widths
)
效果展示图。
关注公众号:拾黑(shiheibook)了解更多
[广告]赞助链接:
四季很好,只要有你,文娱排行榜:https://www.yaopaiming.com/
让资讯触达的更精准有趣:https://www.0xu.cn/

随时掌握互联网精彩
赞助链接
排名
热点
搜索指数
- 1 习近平同巴西总统卢拉共同会见记者 7904317
- 2 中方调整对美进口商品加征关税措施 7809134
- 3 北京冰雹比鸭蛋还大 7714002
- 4 中拉去年贸易额超5184亿美元 7619116
- 5 中国巴西关于乌克兰危机的联合声明 7524337
- 6 特朗普突然提到“统一” 台当局急了 7427978
- 7 65款APP违法收集个人信息遭通报 7332980
- 8 京东美团等外卖平台被五部门约谈 7236857
- 9 10名干部学习期间违规吃喝 1人死亡 7140910
- 10 DeepSeek回应“崩了” 7040775