基于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
胖次团子
团子翻译器作者...
胖次团子
A solution to the 2D Ising model of ferromagnetism, implemented using the Metropolis algorithm

Solving the Ising model on a 2D lattice using the Metropolis Algorithm Introduction The Ising model is a simplified model of ferromagnetism, the pheno

Rohit Prabhu 5 Nov 13, 2022
Deep motion generator collections

GenMotion GenMotion (/gen’motion/) is a Python library for making skeletal animations. It enables easy dataset loading and experiment sharing for synt

23 May 24, 2022
PyTorch implementation of Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation.

ALiBi PyTorch implementation of Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation. Quickstart Clone this reposit

Jake Tae 4 Jul 27, 2022
Python scripts form performing stereo depth estimation using the HITNET model in ONNX.

ONNX-HITNET-Stereo-Depth-estimation Python scripts form performing stereo depth estimation using the HITNET model in ONNX. Stereo depth estimation on

Ibai Gorordo 30 Nov 08, 2022
This library provides an abstraction to perform Model Versioning using Weight & Biases.

Description This library provides an abstraction to perform Model Versioning using Weight & Biases. Features Version a new trained model Promote a mod

Hector Lopez Almazan 2 Jan 28, 2022
Multi-objective gym environments for reinforcement learning.

MO-Gym: Multi-Objective Reinforcement Learning Environments Gym environments for multi-objective reinforcement learning (MORL). The environments follo

Lucas Alegre 74 Jan 03, 2023
Implementation for "Domain-Specific Bias Filtering for Single Labeled Domain Generalization"

DSBF Introduction This repository contains the implementation code for paper: Domain-Specific Bias Filtering for Single Labeled Domain Generalization

ScottYuan 7 Jan 05, 2023
The official PyTorch code for 'DER: Dynamically Expandable Representation for Class Incremental Learning' accepted by CVPR2021

DER.ClassIL.Pytorch This repo is the official implementation of DER: Dynamically Expandable Representation for Class Incremental Learning (CVPR 2021)

rhyssiyan 108 Jan 01, 2023
Video Representation Learning by Recognizing Temporal Transformations. In ECCV, 2020.

Video Representation Learning by Recognizing Temporal Transformations [Project Page] Simon Jenni, Givi Meishvili, and Paolo Favaro. In ECCV, 2020. Thi

Simon Jenni 46 Nov 14, 2022
Kaggle competition: Springleaf Marketing Response

PruebaEnel Prueba Kaggle-Springleaf-master Prueba Kaggle-Springleaf Kaggle competition: Springleaf Marketing Response Competencia de Kaggle: Marketing

1 Feb 09, 2022
HIVE: Evaluating the Human Interpretability of Visual Explanations

HIVE: Evaluating the Human Interpretability of Visual Explanations Project Page | Paper This repo provides the code for HIVE, a human evaluation frame

Princeton Visual AI Lab 16 Dec 13, 2022
EFENet: Reference-based Video Super-Resolution with Enhanced Flow Estimation

EFENet EFENet: Reference-based Video Super-Resolution with Enhanced Flow Estimation Code is a bit messy now. I woud clean up soon. For training the EF

Yaping Zhao 19 Nov 05, 2022
Code release for General Greedy De-bias Learning

General Greedy De-bias for Dataset Biases This is an extention of "Greedy Gradient Ensemble for Robust Visual Question Answering" (ICCV 2021, Oral). T

4 Mar 15, 2022
PyTorch implementation of Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy

Anomaly Transformer in PyTorch This is an implementation of Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy. This pape

spencerbraun 160 Dec 19, 2022
Implementation of the paper Scalable Intervention Target Estimation in Linear Models (NeurIPS 2021), and the code to generate simulation results.

Scalable Intervention Target Estimation in Linear Models Implementation of the paper Scalable Intervention Target Estimation in Linear Models (NeurIPS

0 Oct 25, 2021
Pytorch reimplementation of PSM-Net: "Pyramid Stereo Matching Network"

This is a Pytorch Lightning version PSMNet which is based on JiaRenChang/PSMNet. use python main.py to start training. PSM-Net Pytorch reimplementatio

XIAOTIAN LIU 1 Nov 25, 2021
Diffgram - Supervised Learning Data Platform

Data Annotation, Data Labeling, Annotation Tooling, Training Data for Machine Learning

Diffgram 1.6k Jan 07, 2023
Algorithms for outlier, adversarial and drift detection

Alibi Detect is an open source Python library focused on outlier, adversarial and drift detection. The package aims to cover both online and offline d

Seldon 1.6k Dec 31, 2022
PyTorch implementation for "Sharpness-aware Quantization for Deep Neural Networks".

Sharpness-aware Quantization for Deep Neural Networks This is the official repository for our paper: Sharpness-aware Quantization for Deep Neural Netw

Zhuang AI Group 30 Dec 19, 2022
Neural Message Passing for Computer Vision

Neural Message Passing for Quantum Chemistry Implementation of different models of Neural Networks on graphs as explained in the article proposed by G

Pau Riba 310 Nov 07, 2022