diff --git a/deepdoc/vision/t_recognizer.py b/deepdoc/vision/t_recognizer.py index d0c0cb49c..024428f70 100644 --- a/deepdoc/vision/t_recognizer.py +++ b/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"]