ImageTrans-docs
ImageTrans-docs copied to clipboard
文字全识别、气泡完全框住,掩膜生成各种缺失是怎么回事
背景复杂背景简单的都有 文字区域检测参数怎么调整都没变化 只有更改掩膜生成方式insetrectmaskgeen会有变化,但这个太粗暴了,直接按整个气泡框生成掩膜的
这种背景复杂带描边的用二值化的话,需要把阈值调大一点。
或者直接用manga-image-translator去生成掩膜:https://github.com/xulihang/ImageTrans_plugins/tree/master/mangaTranslatorOCR
还可以看这篇博客:https://www.basiccat.org/zh/details-about-image-text-removal-using-imagetrans/