Merge branch 'fix/RM-227' into 'master'

fix: RM-227: set minimum permissable value for logos

Closes RM-227 and RED-10686

See merge request redactmanager/image-classification-service!21
This commit is contained in:
Julius Unverfehrt 2024-12-18 12:39:44 +01:00
commit 2b85999258
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()