Parcourir la source

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 il y a 10 mois
Parent
révision
983ec0666c
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      deepdoc/vision/t_recognizer.py

+ 1
- 1
deepdoc/vision/t_recognizer.py Voir le fichier

@@ -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"]

Chargement…
Annuler
Enregistrer