Skip to main content

pangpuriye

Let's make AI easy.

Features

  • OCR - EasyOCR + Tesseract + Levenshtein, example.

Requirements

Before start we require 2-main libraries below :

  • poppler - it used in pdf2image, how-to-install in each OS.

  • tesseract - specially in MacOS, we need to install multi-language via brew command :

    $ brew install tesseract-lang
    

Usage

We requires library below in pangpuriye.ai package and our example code, you should install the library below first :

  • pdf2image
  • python-Levenshtein
  • easyocr
  • opencv-python
  • torchvision
  • detecto
  • matplotlib
  • numpy

Or

$ pip install pdf2image python-Levenshtein easyocr opencv-python torchvision detecto matplotlib numpy

After that let's install pangpuriye :

$ pip install pangpuriye

Enjoy!!!

Issues

  • python levenshtein issue on window :

    https://stackoverflow.com/questions/13200330/how-to-install-python-levenshtein-on-windows

  • poppler usage in MacOS version lower than 10.15 :

    Warning: You are using macOS 10.13.
    We (and Apple) do not provide support for this old version.
    You will encounter build failures with some formulae.
    Please create pull requests instead of asking for help on Homebrew's GitHub,
    Twitter or any other official channels. You are responsible for resolving
    any issues you experience while you are running this
    old version.
    
    Error: poppler: no bottle available!
    You can try to install from source with:
    
    brew install --build-from-source poppler
    

FAQ

Why not pack the required liraries above into this package?

Because of some libraries above rely on host's environment, example pdf2image requires poppler but you need to find poppler package that match with your host. So we did not pack the library above into our package.

License

MIT

Release files for pangpuriye 0.1.8

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

Source distribution (sdist)

Source distribution for pangpuriye 0.1.8
File Size Uploaded
pangpuriye-0.1.8.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pangpuriye 0.1.8
File Interpreter ABI Platform
pangpuriye-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / pangpuriye-0.1.8.tar.gz

Download URL pangpuriye-0.1.8.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f25b0adf4d2422bd528e6a1f4de40b618511587a4e0980354cf6db052523b1f
BLAKE2b-256 checksum
How to use checksums
7f545ebf7adfd1b1b2f9a2e854c7505c8726b892e42467a985a16f56ffbd09be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/2.7.16 Darwin/19.6.0

Release files / pangpuriye-0.1.8-py3-none-any.whl

Download URL pangpuriye-0.1.8-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e73b83aad6acd40375cfdf9a58987b34ff610896fd0c353022044406ba5fe87
BLAKE2b-256 checksum
How to use checksums
1bcf86111b95cf28b9758f60125221f2526aaac726099d968d5cdff3bba8b3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/2.7.16 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

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