|
|
|
@ -253,7 +253,7 @@ def binarization(patches, model_dir, input_image, output_image, dir_in, dir_out)
|
|
|
|
|
help="Override log level globally to this",
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
def layout(image, out, dir_in, model, save_images, save_layout, save_deskewed, save_all, save_page, enable_plotting, allow_enhancement, curved_line, textline_light, full_layout, tables, right2left, input_binary, allow_scaling, headers_off, light_version, reading_order_machine_based, do_ocr, num_col_upper, num_col_lower, skip_layout_and_reading_order, ignore_page_extraction, log_level):
|
|
|
|
|
def layout(image, out, dir_in, model, save_images, save_layout, save_deskewed, save_all, extract_only_images, save_page, enable_plotting, allow_enhancement, curved_line, textline_light, full_layout, tables, right2left, input_binary, allow_scaling, headers_off, light_version, reading_order_machine_based, do_ocr, num_col_upper, num_col_lower, skip_layout_and_reading_order, ignore_page_extraction, log_level):
|
|
|
|
|
if log_level:
|
|
|
|
|
setOverrideLogLevel(log_level)
|
|
|
|
|
initLogging()
|
|
|
|
|