Преглед изворни кода

Fix param error. (#4355)

### What problem does this PR solve?

#4230

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.16.0
Kevin Hu пре 10 месеци
родитељ
комит
983ec0666c
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      deepdoc/vision/t_recognizer.py

+ 1
- 1
deepdoc/vision/t_recognizer.py Прегледај датотеку

@@ -38,7 +38,7 @@ def main(args):
detr = TableStructureRecognizer()
ocr = OCR()

layouts = detr(images, float(args.threshold))
layouts = detr(images, thr=float(args.threshold))
for i, lyt in enumerate(layouts):
if args.mode.lower() == "tsr":
#lyt = [t for t in lyt if t["type"] == "table column"]

Loading…
Откажи
Сачувај