File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -427,6 +427,8 @@ def textractor_cli():
427
427
print (out .signatures .pretty_print ())
428
428
if "ALL" in args .print or "IDS" in args .print :
429
429
print (out .identity_documents .pretty_print ())
430
+ if "ALL" in args .print or "LAYOUTS" in args .print :
431
+ print (out .layouts .pretty_print ())
430
432
431
433
if args .linearize is not None :
432
434
if args .linearize_config_path is not None :
@@ -450,6 +452,8 @@ def textractor_cli():
450
452
entity_list += out .queries
451
453
if "ALL" in args .overlay or "SIGNATURES" in args .overlay :
452
454
entity_list += out .signatures
455
+ if "ALL" in args .overlay or "LAYOUTS" in args .overlay :
456
+ entity_list += out .layouts
453
457
image = entity_list .visualize (
454
458
with_text = True ,
455
459
font_size_ratio = args .font_size_ratio ,
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ class CLIPrint(Enum):
319
319
EXPENSES = 5
320
320
SIGNATURES = 6
321
321
IDS = 7
322
-
322
+ LAYOUTS = 8
323
323
324
324
class CLIOverlay (Enum ):
325
325
ALL = 0
@@ -328,4 +328,5 @@ class CLIOverlay(Enum):
328
328
TABLES = 3
329
329
FORMS = 4
330
330
QUERIES = 5
331
- SIGNATURE = 6
331
+ SIGNATURES = 6
332
+ LAYOUTS = 7
You can’t perform that action at this time.
0 commit comments