From 2afd0eaf5657dab833958d540e85861192918e00 Mon Sep 17 00:00:00 2001 From: steveoh Date: Wed, 15 Feb 2023 10:47:46 -0700 Subject: [PATCH] feat: create cli command to create documentai batch jobs --- row_cli.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/row_cli.py b/row_cli.py index 8267a91..a4178ad 100644 --- a/row_cli.py +++ b/row_cli.py @@ -11,6 +11,7 @@ row_cli.py images process --job=name --from=location --save-to=location --index=location --task-index=index --file-count=count --instances=size row_cli.py image convert (--save-to=location) row_cli.py detect circles (--save-to=location) [--mosaic] + row_cli.py detect characters --from=location row_cli.py results download (--from=location) row_cli.py results summarize (--from=location) @@ -25,6 +26,7 @@ python row_cli.py storage pick-range --from=.ephemeral --task-index=0 --instances=10 --file-count=100 python row_cli.py image convert ./test-data/multiple_page.pdf --save-to=./test python row_cli.py detect circles ./test-data/five_circles_with_text.png --save-to=./test --mosaic + python row_cli.py detect characters --from=gs://bucket/job/mosaics/ python row_cli.py results download bobcat --from=bucket-name """ @@ -133,6 +135,9 @@ def main(): return circles + if args["detect"] and args["characters"]: + row.create_batch_character_detection_job(args["--from"]) + if args["results"] and args["download"]: location = row.download_run(args["--from"], args[""])