基于PaddleOCR搭建的OCR server... 离线部署用

Related tags

Deep LearningDangoOCR
Overview

开头说明

​ DangoOCR 是基于大家的 CPU处理器 来运行的,CPU处理器 的好坏会直接影响其速度但不会影响识别的精度,目前此版本识别速度可能在 0.5-3秒之间,具体取决于大家机器的配置,可以的话尽量不要在运行时开其他太多东西。需要配合团子翻译器 Ver3.6 及其以上的版本才可以使用!

​ 此项目底层基于百度开源的PaddleOCR搭建,这是团子第一次尝试自己封装离线的OCR,遇到了不少坑,也受到了不少人的帮助才顺利完成这第一个版本此离线版本以后都会开源,团子也会慢慢优化它的精度和速度,也欢迎对OCR领域有所研究的大佬能一起讨论研究

DangoOCR 源码地址 希望能收到你点的 Star ~ 团子感激不尽

团子翻译器 源码地址 配合翻译器 Ver3.6 及其以上版本使用,啃生肉!

b站个人主页 关于翻译器的任何事宜,团子都会第一时间在b站的动态发布,希望能得到你的关注~

特别鸣谢

PaddleOCR 项目地址 项目底层基于此框架搭建

QPT 打包工具地址 推荐开发者了解一下这个打包工具,比 pyinstaller 好用!DangoOCR 就是使用此工具打包的 ~ 感谢作者

使用前注意

目前 DangoOCR 只可以运行在全英文的路径,路径带有中文会报错,以后的版本会修复此问题,见下图说明:

错误演示

路径带的 "团子" ,有中文启动会失败

image-20210701223423557

正确演示

image-20210701224518547

特别说明

对于盘符,D盘C盘E盘,盘符及其之前的路径带有中文是没有关系,不会影响的

image-20210701224626396

安装和启动

第一次启动需要初始化(安装),切勿关闭黑色的运行窗口,待进度条满后初始化完毕,只有第一次启动才会有进度条

image-20210701222858629

如弹出,点允许访问

image-20210701223004058

出现如下情况,则启动完毕,可以配合翻译器直接使用了,使用过程中千万不可以关掉此运行的黑窗口,直接缩小即可

image-20210701223025840

注意翻译器此处不要打勾,不要打勾,如果打勾就是使用百度的OCR,当然你有高额度的百度OCR账号优先用百度OCR会更好

image-20210701235359751

测试工具

可以在不使用翻译器的情况下简单测试自己的 DangoOCR 是否正常

image-20210701235626384

记得先完成 DangoOCR 的运行,再启动此脚本测试,可以测试使用速度

image-20210701235640888

如图完成测试,团子的测试结果是平均 0.81s,垃圾CPU

image-20210701235941050

Owner
胖次团子
团子翻译器作者...
胖次团子
scikit-learn inspired API for CRFsuite

sklearn-crfsuite sklearn-crfsuite is a thin CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn. sklearn_crfsuite.CRF i

417 Dec 20, 2022
This repo provides the base code for pytorch-lightning and weight and biases simultaneous integration.

Write your model faster with pytorch-lightning-wadb-code-backbone This repository provides the base code for pytorch-lightning and weight and biases s

9 Mar 29, 2022
A diff tool for language models

LMdiff Qualitative comparison of large language models. Demo & Paper: http://lmdiff.net LMdiff is a MIT-IBM Watson AI Lab collaboration between: Hendr

Hendrik Strobelt 27 Dec 29, 2022
Official repo for the work titled "SharinGAN: Combining Synthetic and Real Data for Unsupervised GeometryEstimation"

SharinGAN Official repo for the work titled "SharinGAN: Combining Synthetic and Real Data for Unsupervised GeometryEstimation" The official project we

Koutilya PNVR 23 Oct 19, 2022
Feature extraction made simple with torchextractor

torchextractor: PyTorch Intermediate Feature Extraction Introduction Too many times some model definitions get remorselessly copy-pasted just because

Antoine Broyelle 89 Oct 31, 2022
MM1 and MMC Queue Simulation using python - Results and parameters in excel and csv files

implementation of MM1 and MMC Queue on randomly generated data and evaluate simulation results then compare with analytical results and draw a plot curve for them, simulate some integrals and compare

Mohamadreza Rezaei 1 Jan 19, 2022
RP-GAN: Stable GAN Training with Random Projections

RP-GAN: Stable GAN Training with Random Projections This repository contains a reference implementation of the algorithm described in the paper: Behna

Ayan Chakrabarti 20 Sep 18, 2021
Implementation for ACProp ( Momentum centering and asynchronous update for adaptive gradient methdos, NeurIPS 2021)

This repository contains code to reproduce results for submission NeurIPS 2021, "Momentum Centering and Asynchronous Update for Adaptive Gradient Meth

Juntang Zhuang 15 Jun 11, 2022
A foreign language learning aid using a neural network to predict probability of translating foreign words

Langy Langy is a reading-focused foreign language learning aid orientated towards young children. Reading is an activity that every child knows. It is

Shona Lowden 6 Nov 17, 2021
Semi-SDP Semi-supervised parser for semantic dependency parsing.

Semi-SDP Semi-supervised parser for semantic dependency parsing. This repo contains the code used for the semi-supervised semantic dependency parser i

12 Sep 17, 2021
Codes for NeurIPS 2021 paper "On the Equivalence between Neural Network and Support Vector Machine".

On the Equivalence between Neural Network and Support Vector Machine Codes for NeurIPS 2021 paper "On the Equivalence between Neural Network and Suppo

Leslie 8 Oct 25, 2022
MinkLoc++: Lidar and Monocular Image Fusion for Place Recognition

MinkLoc++: Lidar and Monocular Image Fusion for Place Recognition Paper: MinkLoc++: Lidar and Monocular Image Fusion for Place Recognition accepted fo

64 Dec 18, 2022
Memory-efficient optimum einsum using opt_einsum planning and PyTorch kernels.

opt-einsum-torch There have been many implementations of Einstein's summation. numpy's numpy.einsum is the least efficient one as it only runs in sing

Haoyan Huo 9 Nov 18, 2022
Supplementary code for SIGGRAPH 2021 paper: Discovering Diverse Athletic Jumping Strategies

SIGGRAPH 2021: Discovering Diverse Athletic Jumping Strategies project page paper demo video Prerequisites Important Notes We suspect there are bugs i

54 Dec 06, 2022
ViDT: An Efficient and Effective Fully Transformer-based Object Detector

ViDT: An Efficient and Effective Fully Transformer-based Object Detector by Hwanjun Song1, Deqing Sun2, Sanghyuk Chun1, Varun Jampani2, Dongyoon Han1,

NAVER AI 262 Dec 27, 2022
Unofficial TensorFlow implementation of Protein Interface Prediction using Graph Convolutional Networks.

[TensorFlow] Protein Interface Prediction using Graph Convolutional Networks Unofficial TensorFlow implementation of Protein Interface Prediction usin

YeongHyeon Park 9 Oct 25, 2022
Sandbox for training deep learning networks

Deep learning networks This repo is used to research convolutional networks primarily for computer vision tasks. For this purpose, the repo contains (

Oleg Sémery 2.7k Jan 01, 2023
DL course co-developed by YSDA, HSE and Skoltech

Deep learning course This repo supplements Deep Learning course taught at YSDA and HSE @fall'21. For previous iteration visit the spring21 branch. Lec

Yandex School of Data Analysis 1.3k Dec 30, 2022
Inhomogeneous Social Recommendation with Hypergraph Convolutional Networks

Inhomogeneous Social Recommendation with Hypergraph Convolutional Networks This is our Pytorch implementation for the paper: Zirui Zhu, Chen Gao, Xu C

Zirui Zhu 3 Dec 30, 2022