ocr-stream 2.5__tar.gz → 2.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ocr_stream-2.5 → ocr_stream-2.5.2}/PKG-INFO +2 -2
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream/ocr/__init__.py +3 -3
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream.egg-info/PKG-INFO +2 -2
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream.egg-info/requires.txt +1 -1
- {ocr_stream-2.5 → ocr_stream-2.5.2}/pyproject.toml +2 -2
- {ocr_stream-2.5 → ocr_stream-2.5.2}/README.md +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream/__init__.py +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream/bin_tess/__init__.py +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream/modules/__init__.py +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream/recognize.py +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream.egg-info/SOURCES.txt +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream.egg-info/dependency_links.txt +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/ocr_stream.egg-info/top_level.txt +0 -0
- {ocr_stream-2.5 → ocr_stream-2.5.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ocr_stream
|
|
3
|
-
Version: 2.5
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Extrair textos de documentos digitalizados e imagens.
|
|
5
5
|
Author: Bruno Chaves
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -12,7 +12,7 @@ Requires-Dist: pandas
|
|
|
12
12
|
Requires-Dist: requests>=2.32.4
|
|
13
13
|
Requires-Dist: opencv-python
|
|
14
14
|
Requires-Dist: pytesseract
|
|
15
|
-
Requires-Dist: convert_stream>=2.5
|
|
15
|
+
Requires-Dist: convert_stream>=2.5.1
|
|
16
16
|
Requires-Dist: soup_files>=1.4.2
|
|
17
17
|
|
|
18
18
|
# ocrlib
|
|
@@ -6,10 +6,10 @@ from abc import abstractmethod, ABC
|
|
|
6
6
|
from typing import Union
|
|
7
7
|
from pandas import DataFrame
|
|
8
8
|
from soup_files import File
|
|
9
|
-
from convert_stream import DocumentPdf, PageDocumentPdf
|
|
9
|
+
from convert_stream import DocumentPdf, PageDocumentPdf
|
|
10
10
|
from convert_stream.mod_types.modules import DEFAULT_LIB_IMAGE, LibImage
|
|
11
11
|
from convert_stream.image import ImageObject
|
|
12
|
-
from sheet_stream
|
|
12
|
+
from sheet_stream import MetaDataFile, TableDocuments
|
|
13
13
|
from ocr_stream.modules import (
|
|
14
14
|
LibOcr, DEFAULT_LIB_OCR, pytesseract, pyocr, easyocr
|
|
15
15
|
)
|
|
@@ -77,7 +77,7 @@ class TextRecognized(object):
|
|
|
77
77
|
tmp_doc.metadata.dir_path = self.metadata.dir_path
|
|
78
78
|
return tmp_doc
|
|
79
79
|
|
|
80
|
-
def to_dict(self, separator: str = '\n') ->
|
|
80
|
+
def to_dict(self, separator: str = '\n') -> TableDocuments:
|
|
81
81
|
return self.to_page_pdf().to_dict(separator=separator)
|
|
82
82
|
|
|
83
83
|
def to_dataframe(self, separator='\n') -> DataFrame:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ocr_stream
|
|
3
|
-
Version: 2.5
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Extrair textos de documentos digitalizados e imagens.
|
|
5
5
|
Author: Bruno Chaves
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -12,7 +12,7 @@ Requires-Dist: pandas
|
|
|
12
12
|
Requires-Dist: requests>=2.32.4
|
|
13
13
|
Requires-Dist: opencv-python
|
|
14
14
|
Requires-Dist: pytesseract
|
|
15
|
-
Requires-Dist: convert_stream>=2.5
|
|
15
|
+
Requires-Dist: convert_stream>=2.5.1
|
|
16
16
|
Requires-Dist: soup_files>=1.4.2
|
|
17
17
|
|
|
18
18
|
# ocrlib
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ocr_stream"
|
|
7
|
-
version = "2.5"
|
|
7
|
+
version = "2.5.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Bruno Chaves"},
|
|
10
10
|
]
|
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
|
21
21
|
"requests>=2.32.4",
|
|
22
22
|
"opencv-python",
|
|
23
23
|
"pytesseract",
|
|
24
|
-
"convert_stream>=2.5",
|
|
24
|
+
"convert_stream>=2.5.1",
|
|
25
25
|
"soup_files>=1.4.2",
|
|
26
26
|
]
|
|
27
27
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|