-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathPKG-INFO
60 lines (43 loc) · 2.15 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Metadata-Version: 2.1
Name: TextExtract
Version: 1.1.0
Summary: Tesseract Optimize is a optimize version of Tesseract to provide better text recognition.
Home-page: UNKNOWN
Author: Sayar Mendis
Author-email: [email protected]
License: UNKNOWN
Description: Overview :
=======================
Tesseract Optimize 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 :
==============================
```python
from TextExtract.TextExtractApi.TextExtract import TextExtractFunctions
#Get single text without comparing text with expected
image_str=TextExtractFunctions.image_to_string_only("testpng.png",lang='eng')
#Get texts from list of scaled images text
result,match= TextExtractFunctions.image_to_string_matched("testpng.png",expected_text='Menu',lang='eng')
#Get list of result with matches results
finalresult,scaled_results=TextExtractFunctions.image_to_string_matched("testpng.png",expected_text='Menu',all_results=True)
```
**Contact Information :**
[Email: [email protected]](mailto::[email protected])
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown