mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
increase the number of candidates for DBNet to 3000 (#98)
This solves the issue when dealing with documents with a large number of words per-page.
This commit is contained in:
parent
b058fdcb4e
commit
6c1c34fb91
@ -186,7 +186,7 @@ def db_decode(preds,
|
||||
min_text_score=0.3,
|
||||
min_text_width=5,
|
||||
unclip_ratio=1.5,
|
||||
max_candidates=1000):
|
||||
max_candidates=3000):
|
||||
"""Decoding predictions of DbNet to instances. This is partially adapted
|
||||
from https://github.com/MhLiao/DB.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user