1 Star 0 Fork 147

75/OCR-GUI-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
虾米小馄饨 提交于 2021-12-05 22:28 . - 添加主体逻辑
import argparse
import codecs
import logging
import os
import os.path as osp
import sys
from guiocr import __appname__
from guiocr.app import MainWindow
from guiocr.utils import newIcon
from PyQt5 import QtCore, QtGui, QtWidgets
def main():
QtCore.QCoreApplication.setOrganizationDomain("casia")
QtCore.QCoreApplication.setApplicationName(__appname__)
app = QtWidgets.QApplication(sys.argv)
app.setApplicationName(__appname__)
# app.setWindowIcon(newIcon("icon"))
win = MainWindow()
# win = createWindow(win,'blue')
win.show()
win.raise_()
sys.exit(app.exec_())
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
main()
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/tenstars/ocr-gui-demo.git
git@gitee.com:tenstars/ocr-gui-demo.git
tenstars
ocr-gui-demo
OCR-GUI-demo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385