fix: RED-10686: set minimum permissable value for logos

Reference the jira ticket for more information. This change can
introduce unwanted behavior.
This commit is contained in:
Julius Unverfehrt 2024-12-18 11:27:33 +01:00
parent bf1ca8d6f9
commit 4b15d2c2ca
2 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ level = "INFO"
[service]
# Print document processing progress to stdout
verbose = false
batch_size = 16
batch_size = 6
image_stiching_tolerance = 1 # in pixels
mlflow_run_id = "fabfb1f192c745369b88cab34471aba7"
@ -36,4 +36,7 @@ max = 10
[filters.overrides.signature.image_to_page_quotient]
max = 0.4
[filters.overrides.logo.image_to_page_quotient]
min = 0.06

View File

@ -10,6 +10,8 @@ from image_prediction.utils.pdf_annotation import annotate_pdf
logger = get_logger()
logger.setLevel("DEBUG")
def parse_args():
parser = argparse.ArgumentParser()