File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,8 @@ def textractor_cli():
368
368
print (out .queries .pretty_print ())
369
369
if "ALL" in args .print or "EXPENSES" in args .print :
370
370
print (out .expense_documents .pretty_print ())
371
+ if "ALL" in args .print or "SIGNATURES" in args .print :
372
+ print (out .signatures .pretty_print ())
371
373
if "ALL" in args .print or "IDS" in args .print :
372
374
print (out .identity_documents .pretty_print ())
373
375
@@ -383,6 +385,8 @@ def textractor_cli():
383
385
entity_list += out .key_values
384
386
if "ALL" in args .overlay or "QUERIES" in args .overlay :
385
387
entity_list += out .queries
388
+ if "ALL" in args .overlay or "SIGNATURES" in args .overlay :
389
+ entity_list += out .signatures
386
390
image = entity_list .visualize (
387
391
with_text = True ,
388
392
font_size_ratio = args .font_size_ratio ,
Original file line number Diff line number Diff line change @@ -219,7 +219,8 @@ class CLIPrint(Enum):
219
219
FORMS = 3
220
220
QUERIES = 4
221
221
EXPENSES = 5
222
- IDS = 6
222
+ SIGNATURES = 6
223
+ IDS = 7
223
224
224
225
225
226
class CLIOverlay (Enum ):
@@ -229,3 +230,4 @@ class CLIOverlay(Enum):
229
230
TABLES = 3
230
231
FORMS = 4
231
232
QUERIES = 5
233
+ SIGNATURE = 6
You can’t perform that action at this time.
0 commit comments