Skip to main content

Tesseract Optimize is a optimize version of Tesseract to provide better text recognition.

Project description

Overview :

TextExtract is a optimize version of Tesseract to provide better text recognition.

Features :

  1. Extract text from any image
  2. Extract text which match expected text

Installation :

Prerequisite :

  • Python 3.6+ (https://www.python.org/downloads/)
  • Tesseract.exe file and DLLs('liblept177.dll','libtesseract400.dll','vcomp140.dll')
  • Tesseract version used is : tesseract 4.0.0-beta.3

Using pip :

pip install TextExtract

Usage :

from TextExtract.TextExtractApi.TextExtract import TextExtractFunctions  
  
#Get single text without comparing text with expected  
result,scale=TextExtractFunctions.image_to_string_only("MenuIcon.png",lang='eng')
  
#Get texts from list of scaled images text with highest matching with expected text
result,match=TextExtractFunctions.image_to_string_matched("MenuIcon.png",expected_text='Menu',lang='eng')
  
#Get list of result with matches results  
finalresult,scaled_results=TextExtractFunctions.image_to_string_matched("MenuIcon.png",expected_text='Menu',all_results=True)

Contact Information :

Email: sayarmendis26@gmail.com

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

TextExtract-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file TextExtract-1.0.0.tar.gz.

File metadata

  • Download URL: TextExtract-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for TextExtract-1.0.0.tar.gz
Algorithm Hash digest
SHA256 879fce31d0329115a86eb10ac650ccc1edeaaf07e7f91759865ef4d3769b8d63
MD5 6d3750898ef61f0b6612ad9cc7af90a5
BLAKE2b-256 8e3238ddb3368f5f31effed5d98bbcca2ca24afb786c59d4d4866b03386e656c

See more details on using hashes here.

Supported by

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