Comments (2)
算是解决问题了
修改了spec下面的部分
Analysis(['main.py','asset.py','callingOCR.py','config.py','selectAreaWin.py'],
datas=[('PaddleOCR-json','PaddleOCR-json')],
name='Umi-OCR 批量图片转文字',
console=False,
entitlements_file=None, icon='icon\\icon.ico' )
然后不用os.system
(用这个是为了简化操作,识别后弹出记事本,但后果是出现控制台),用subprocess.call('notepad ' + outPath, creationflags=0x08000000)
代替
最后pyinstaller -D -w '.\Umi-OCR 批量图片转文字.spec'
出一个文件夹,里面有那个闪闪发光的exe文件
from umi-ocr.
完成任务后打开文件,是个实用的功能~ 已加入正式版v1.2.2。
我用的是 os.startfile( path )
大法,通吃“打开记事本”和“打开资源管理器”两种功能;也不会弹出控制台。
from umi-ocr.
Related Issues (20)
- 软件优化非常好,一直在找这样一个软件可以批量识别二维码。 HOT 3
- 可以设置为win系统服务方式启动吗?不需要进入桌面启动,只需要HTTP! HOT 2
- 没有问题了
- Rapid http接口怎么提高认识率? HOT 3
- umi程序作为api调用过程中出现:PaddleOCR-json.exe-应用程序错误 HOT 2
- 自动截图 HOT 1
- win arm版本点击exe无反应 HOT 10
- 能否像python库一样引入umiOrc的功能 HOT 1
- 关于can't find python3.dll和任务异常弹窗后软件无法操作的问题 HOT 2
- 谢谢这么好用的Umi,强烈请求加入罗马数字等特别字符识别! HOT 1
- 多显示器截图不准确 HOT 1
- 小学教材orc出错 HOT 3
- HTTP过几天后接口无响应,不知道是不是卡死,只能重启! HOT 1
- 建议:在识别结果文本中,增加未识别图片占位符! HOT 6
- UMI-OCR V2.1.2 needs more funciton HOT 2
- 【安卓】可否集成到安卓上,在移动端非常需要!armv7、arm64、x86、x86_64,飞桨官方的只有arm,但考虑到很多机器CPU无法转义执行,建议所有abi都支持一下 HOT 1
- 能否增加一个选项,截图时屏幕是否变暗 HOT 2
- 跪求linux命令行版 HOT 2
- Performance issue over HTTP HOT 6
- 跪求支持韓文OCR功能! HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umi-ocr.