Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
iterhui d56198e920 | 1 year ago | |
---|---|---|
csv | 1 year ago | |
designer | 1 year ago | |
images | 1 year ago | |
static | 1 year ago | |
testimg | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
pkg.py | 1 year ago | |
ppocrDemo.py | 1 year ago | |
requirement.txt | 1 year ago | |
requirements_with_opt.txt | 1 year ago | |
run.py | 1 year ago |
---------------------------------------------------OCRandQPTandIS---------------------------------------------------
Covid-19 outbreak information statistics
[疫情信息统计进阶篇]PPOCR和QPT的落地实战
项目地址:https://aistudio.baidu.com/aistudio/projectdetail/3877807
[PaddleOCR]核酸检测证明复查统计?50行代码轻松搞定
项目地址:https://aistudio.baidu.com/aistudio/projectdetail/3779297
继上篇说起,完成了ocr的核酸检测信息统计
这次主要来搞搞,如何落地实践。
项目已经放置数据集中,开箱即可使用,因为设计界面制作,请您在本地环境使用。
截图展示:
B站视频地址:
https://www.bilibili.com/video/BV1Hr4y1J7cR
!unzip -oq /home/aistudio/data/data141663/OcrYq.zip -d work/
requirement.txt 中的所有依赖,可能不全,自己看情况导入
正常这已经可以了
运行之后既可在文件夹中发现out目录,根据QPT的描述进行使用即可。
QPT-快速使用
这里我们可以看到,QPT提供了两种打包方式,撰写打包脚本(推荐)和使用命令打包
pkg.py
# 导入QPT
from qpt.executor import CreateExecutableModule as CEM
from qpt.modules.python_env import Python38
def main():
module = CEM(work_dir="F:/OcrYq",
launcher_py_path="F:/OcrYq/run.py",
save_path="./out",
requirements_file="auto",
hidden_terminal=False,
interpreter_module=Python38(),
icon="F:/OcrYq/static/favicon.ico")
# 开始打包
module.make()
if __name__ == "__main__":
main()
PS:
- 就没见过这么详细的注释好吧?不管是代码的注释以及运行过程中的输出,为了小白使用操碎了心,何况还有GT这位随时的答疑机器人[手动狗头]
- 其中:官方的python解释器是python37的,可以根据你自己的版本进行更换,这个也就改个数的问题,洒洒水就解决了。
没错,就是这个out文件夹,里面就会出现两个文件夹
实现:
提升:
后续
换成paddlepadle-gpu 之后,两百张图片大概50秒
帮助&资助
本人可以提供私人订制服务,类似的OCR小工具,都可以具体私聊我制作,可以在issue中提交申请,我会查看,友情资助二维码如下:(谢谢)
全网同名:
iterhui
我在AI Studio上获得至尊等级,点亮10个徽章,来互关呀~
https://aistudio.baidu.com/aistudio/personalcenter/thirdview/643467
Covid-19 outbreak information statistics,使用paddleocr进行图像的识别,用QPT进行软件的打包
Python Text CSV
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》