BallonsTranslator icon indicating copy to clipboard operation
BallonsTranslator copied to clipboard

Feature Request:希望添加字体识别功能,json里希望加上图片尺寸信息。

Open jqk4388 opened this issue 8 months ago • 4 comments

版本信息

Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, 2023年4月5日, 00:38:17) [MSC v.1929 64 bit (AMD64)] Version: 1.4.0 Branch: dev Commit hash: https://github.com/dmMaze/BallonsTranslator/commit/da87fc9717fe8267a2fb48a47f9eb07cf75be5e2

建议类型

新功能

描述

  1. 有现成的字体识别模型,希望能在原文OCR之后给出字体名的信息,方便匹配样式。字体信息最好也写入json里方便我写脚本读取。

2.json里希望加上图片尺寸信息,我写了脚本转换json到lptxt,但是json里没有图片尺寸所以坐标是绝对值不能转成百分比,我现在是读取json同时读取图片文件获取的,希望json里能直接提供尺寸信息。

3.BallonsTranslator在文字排版方面还太弱,现在主要用法是气泡翻译器调用AI大模型,得到的结果转换lptxt再导入ID/PS软件来排版。

图片

No response

其他信息

No response

jqk4388 avatar May 04 '25 15:05 jqk4388

附上我的脚本 https://github.com/jqk4388/PS-Script-BallonsTranslator

jqk4388 avatar May 04 '25 15:05 jqk4388

https://github.com/bropines/BT-json-to-PS/tree/main

bropines avatar May 04 '25 17:05 bropines

I made it easier and more convenient. In a way. It's easier to develop it through UPX. The repository contains the necessary links. I'm a dumb down who is not capable of learning anything complicated other than Python at the moment.

This is about PS.

bropines avatar May 04 '25 17:05 bropines

打算集成这个字体识别模型再加一个匹配功能。 另外排版方面有啥通用场景下的需求也可以提一下,会根据工作量和时间精力考虑实现

dmMaze avatar May 05 '25 19:05 dmMaze