通过 ocr_results 传入 ocr 结果的情况下无法获取表格 html

Open
#145 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Read rapid_table/main.py lines 101-110 and trace how use_ocr and the supplied ocr_results affect HTML matching. Reproduce the case with ocr_results, then confirm that table HTML is still returned when OCR results are provided, while preserving the intended behavior for other paths.

Written by the indexing model from the issue text.

Description

判断 use_ocr 然后跳过匹配 html,这导致使用 ocr_results 传入 ocr 结果的情况下无法获取表格 html ,没看懂这段代码意图
https://github.com/RapidAI/RapidTable/blob/b0ba540a2a5ac06a61bcd6506795246a5046a291/rapid_table/main.py#L101-L110

Dominant language
Python
Stars
438
Forks
41
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RapidAI/RapidTable

All issues in RapidAI/RapidTable

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.