Explorar el Código

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 hace 10 meses
padre
commit
983ec0666c
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      deepdoc/vision/t_recognizer.py

+ 1
- 1
deepdoc/vision/t_recognizer.py Ver fichero

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

Cargando…
Cancelar
Guardar