-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我无法使用 CLI。 我已经尝试了很多天,但找不到任何解决方案。 #523
Comments
I apologize for the imperfections in our English documentation. In the future, we will continue to focus on providing convenience for users of multiple languages. Below is the solution to your request: Objective: Use CLI to add a PDF document task and generate a double-layer searchable PDF. This task is not within the preset quick commands, so it is relatively cumbersome and requires multiple consecutive commands to achieve. Procedure:
|
Thank you for the quick response and detailed step-by-step instructions! Problem solved! With your help I was able to process the documents despite having experienced some difficulties when using a more recent version of PowerShell (version 7.4.2); so to make it work I have to run the commands using Windows PowerShell version 5.1.22621.2506 (the default version preinstalled on Windows 11). If you are curious, please see how I proceeded below:
After failing to execute several attempts using the previous commands, I realized I was using the Windows Terminal which in turn was launching PowerShell (version 7.4.2); So, I tried launching the same commands in the same order however this time using Windows PowerShell version 5.1.22621.2506 and luckily everything worked correctly! Thank you for your help! You're doing an awesome job and making my life easier so please wait for me to buy you some coffees or provide you with any help here if you need! Much love and affection from your friend in Brazil |
This issue is most likely caused by incorrect parsing of double quotes
The above commands have been tested and work on the latest Windows 11. There may be slight differences in other versions of the system. Microsoft make something as simple as quoting strings a convoluted mess. 😂 |
Issues
Umi-OCR version 程序版本
2.1.0
Windows version 系统版本
win11
OCR plugins Used 使用的OCR插件
PaddleOCR, RapidOCR
Reproduction steps 复现步骤
我按照链接 https://github.com/hiroi-sora/Umi-OCR/blob/main/docs/README_CLI.md 按照 CLI 教程进行操作
Problem screenshots or related files (optional) 问题截图或相关文件(可选)
我为可怕的中国人谦卑地道歉。 不幸的是,我仍在学习中,而且我处于非常基础的水平,能够传达复杂的信息,因此我将使用通用翻译器从葡萄牙语/英语翻译为简体中文。
CLI 可能没有问题,但不幸的是,我无法按照高级说明添加 PDF 文档和双层 OCR 文本。 我没有得到回复,或者如果他想要文件,我可以让他处理。 我试图按照( https://github.com/hiroi-sora/Umi-OCR/blob/main/docs/README_CLI.md )的说明进行操作,但是,我相信我一定做错了什么。 看,我正在尝试使用语法: Umi-OCR.exe --call_qml [name] --func [function] [..paras]
您能否向我展示一个简单的命令,用于添加一两个 PDF 文档,然后执行对它们应用双层 OCR 文本的过程?
谢谢! 您的应用程序可能是免费甚至封闭的解决方案中最好的!
The text was updated successfully, but these errors were encountered: