Skip to content

Commit

Permalink
Fix bug, missing __init__.py in demo
Browse files Browse the repository at this point in the history
Causing ModuleNotFound exception.
  • Loading branch information
Eric Ihli committed Dec 28, 2020
1 parent f77c685 commit 4920546
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
Binary file added dist/table_ocr-0.2.5-py3-none-any.whl
Binary file not shown.
Binary file added dist/table_ocr-0.2.5.tar.gz
Binary file not shown.
6 changes: 5 additions & 1 deletion pdf_table_extraction_and_ocr.org
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,10 @@ This demo starts from an image rather than from a PDF. The concepts should still

The ~main~ function of ~extract_tables~ takes a list of filepaths of images. It will attempt to find bounding boxes of all tables in the images and return a list of tuples of (<image filepath>, <list of filepaths of found and cropped out tables>)

#+BEGIN_SRC python :tangle table_ocr/demo/__init__.py :mkdirp yes

#+END_SRC

#+NAME: demo main
#+BEGIN_SRC python :tangle table_ocr/demo/__main__.py :mkdirp yes :noweb yes
<<demo imports>>
Expand Down Expand Up @@ -881,7 +885,7 @@ with open(os.path.join(this_dir, "README.txt"), encoding="utf-8") as f:

setuptools.setup(
name="table_ocr",
version="0.2.4",
version="0.2.5",
author="Eric Ihli",
author_email="[email protected]",
description="Extract text from tables in images.",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="table_ocr",
version="0.2.4",
version="0.2.5",
author="Eric Ihli",
author_email="[email protected]",
description="Extract text from tables in images.",
Expand Down
1 change: 1 addition & 0 deletions table_ocr/demo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 4920546

Please sign in to comment.