ImageTrans-docs icon indicating copy to clipboard operation
ImageTrans-docs copied to clipboard

文字全识别、气泡完全框住,掩膜生成各种缺失是怎么回事

Open yahoozhu opened this issue 10 months ago • 2 comments

2024-04-29_20-19-03 2024-04-29_20-16-34 2024-04-29_20-34-40 2024-04-29_20-34-53 2024-04-29_20-36-33 2024-04-29_20-36-21

背景复杂背景简单的都有 文字区域检测参数怎么调整都没变化 只有更改掩膜生成方式insetrectmaskgeen会有变化,但这个太粗暴了,直接按整个气泡框生成掩膜的

yahoozhu avatar Apr 29 '24 12:04 yahoozhu

这种背景复杂带描边的用二值化的话,需要把阈值调大一点。

或者直接用manga-image-translator去生成掩膜:https://github.com/xulihang/ImageTrans_plugins/tree/master/mangaTranslatorOCR

xulihang avatar Apr 29 '24 13:04 xulihang

还可以看这篇博客:https://www.basiccat.org/zh/details-about-image-text-removal-using-imagetrans/

xulihang avatar Apr 29 '24 13:04 xulihang