소스 검색

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 9 달 전
부모
커밋
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…
취소
저장