diff --git a/cv_analysis/table_parsing.py b/cv_analysis/table_parsing.py index 852df2b..5d4b522 100644 --- a/cv_analysis/table_parsing.py +++ b/cv_analysis/table_parsing.py @@ -189,6 +189,8 @@ def annotate_tables_in_pdf(pdf_path, page_index=0, deskew=False, show=False): stats = parse_table(page) page = draw_rectangles(page, stats, annotate=True) vizlogger.debug(page, "tables15_final_output.png") + if show: + show_mpl(page) def tables_in_image(cropped_image):