Skip to main content

Let's make AI easy.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pangpuriye-0.1.8.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

pangpuriye-0.1.8-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page