### What problem does this PR solve? #4230 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.16.0
| detr = TableStructureRecognizer() | detr = TableStructureRecognizer() | ||||
| ocr = OCR() | ocr = OCR() | ||||
| layouts = detr(images, float(args.threshold)) | |||||
| layouts = detr(images, thr=float(args.threshold)) | |||||
| for i, lyt in enumerate(layouts): | for i, lyt in enumerate(layouts): | ||||
| if args.mode.lower() == "tsr": | if args.mode.lower() == "tsr": | ||||
| #lyt = [t for t in lyt if t["type"] == "table column"] | #lyt = [t for t in lyt if t["type"] == "table column"] |