Giter VIP home page Giter VIP logo

textextract's Introduction

forthebadge made-with-python

TextExtract :

Open Source Love svg1 License: MIT Downloads Python 3.6 PyPI version Python package PyWizards

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: [email protected]

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

textextract's People

Contributors

sam4u3 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.