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.
Text recognition
The reimplementation is based on CRNN model that RNN layer is replaced with self-attention layer.
CRNN
Self attention
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
- English support
- GPU support
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simpleocr-0.0.23.tar.gz | 34.5 kB | Without provenance | Details for simpleocr-0.0.23.tar.gz |
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
|
Security for simpleocr 0.0.23
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.