You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
262 B
Python

import argparse
from table_ocr.extract_tables import main
parser = argparse.ArgumentParser()
parser.add_argument("files", nargs="+")
args = parser.parse_args()
files = args.files
results = main(files)
for image, tables in results:
print("\n".join(tables))