Skip to main content

TextExtract

License: MIT Downloads Python 3.6

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 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

Donation :

If you have found my softwares to be of any use to you, do consider helping me pay my internet bills. This would encourage me to create many such softwares :)

Donate via Instamojo

Metadata

Release files for TextExtract 1.2.0

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

Source distribution (sdist)

Source distribution for TextExtract 1.2.0
File Size Uploaded
TextExtract-1.2.0.tar.gz 16.1 MB Details

Release files / TextExtract-1.2.0.tar.gz

Download URL TextExtract-1.2.0.tar.gz
Size 16.1 MB
Tags Source
SHA-256 checksum
How to use checksums
141da5ca606a0a3eda80ab1267c2bdae51de774537b2e49c6ee13a4a7302f284
BLAKE2b-256 checksum
How to use checksums
65da2c4a54691f4eb9481c64fd5009c6e8be6f4d44ae869c070ce365600910df
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 release file

1.0.1

1 release file

1.0.0

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