microsoft / microsoft/OmniParser

Error in Chinese characters OCR results

Open
#341 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
25.4k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

1.代码方面
第21行 reader = easyocr.Reader(['ch_sim','en'])
第24行 set PaddleOCR language to 'ch'
2.输入图片,以中文为主
3.输出图片,可以框选出图片中的元素
4.Parsed screen elements中,content可以带出中文,但是仅限前半部分icon,后半部分icon里带出的content仍是汉化之前识别中文出现的乱码或者随机值

?请问第4条的问题如何改动代码才能做到每条icon的content结果都为OCR识别到的且正确带出来的。

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.

Research direction

Start by locating the code corresponding to line 21's EasyOCR reader and line 24's PaddleOCR language setting, then trace how OCR results become content in Parsed screen elements. Reproduce the Chinese-heavy image case and compare the first and later icons; done means every icon's content contains the correct OCR result rather than乱码 or random values.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.