Skip to main content

Simpleocr library

Simpleocr is a traditional chinese OCR python package that based on deep learning method.

The library consists of text localization and text recognition.

Text localization

The model is a reimplementation of CRAFT(Character-Region Awareness For Text detection) by tensorflow.

paper | github

Text recognition

The reimplementation is based on CRNN model that RNN layer is replaced with self-attention layer.

CRNN

paper

Self attention

paper

Installation

$ pip install simpleocr

or

$ git clone https://github.com/xianyuntang/simpleocr
$ cd simpleocr
$ python setup.py install

Usage

from simpleocr import ocr
ocr.get_text(['image.jpg'])

TODO

  1. English support
  2. GPU support

Release files for simpleocr 0.0.23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simpleocr 0.0.23
File Size Uploaded
simpleocr-0.0.23.tar.gz 34.5 kB Details

Release files / simpleocr-0.0.23.tar.gz

Download URL simpleocr-0.0.23.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
146fd8543102973281ef753b18c97cb245c4684ab100dba5eb21623479f93c8e
BLAKE2b-256 checksum
How to use checksums
34a9b8f62323ecb3cf6944e3b543df3ecbc9ceaf4a7a49db18fdfa14cc3cc33c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.23 This release

1 release file

0.0.22

1 release file

0.0.21

1 release file

0.0.20

1 release file

0.0.19

1 release file

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page