You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
问题描述 / Question
场景:检测文档图片中的公章(红色环形印章,如"某某工程有限公司"),需要定位印章区域并读取印章文字。
遇到两个问题:
1. 默认配置检测不出任何印章
SealRecognition(device="gpu")(默认use_layout_detection=True)对一张含 4 个印章的图片直接返回空结果,耗时仅约 50ms,明显未执行完整推理:{ "res": { "dt_polys": [], "rec_texts": [], "rec_scores": [], "seal_res_list": [] } }设置
use_layout_detection=False后能检出印章区域,怀疑是默认开启的 PP-DocLayout-L 版面定位把"印章"识别为无效版面区域,导致后续模块被短路跳过。2. 关闭版面定位后:定位不准 + 环形文字识别不了
已尝试的方案 / What I have tried
use_layout_detection=False—— 能检出但定位不准、识别不可用;期望 / Expected behavior
All reactions