Skip to content

Commit ac71e1d

Browse files
committed
fix: 修复textline_merge中detect_size属性名错误
1 parent 5a3a6f3 commit ac71e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manga_translator/manga_translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ async def _run_textline_merge(self, config: Config, ctx: Context):
12731273
h, w = w, h
12741274

12751275
asp_ratio = h / w
1276-
tgt_size = config.detector.detect_size
1276+
tgt_size = config.detector.detection_size
12771277
down_scale_ratio = h / tgt_size
12781278
require_rearrange = down_scale_ratio > 2.5 and asp_ratio > 3
12791279

0 commit comments

Comments
 (0)