webserver: host: $SERVER_HOST|"127.0.0.1" # webserver address port: $SERVER_PORT|5000 # webserver port mode: $SERVER_MODE|production # webserver mode: {development, production} service: logging_level: $LOGGING_LEVEL_ROOT|DEBUG # Logging level for service logger batch_size: $BATCH_SIZE|32 # Number of images in memory simultaneously verbose: $VERBOSE|True # Service prints document processing progress to stdout run_id: $RUN_ID|fabfb1f192c745369b88cab34471aba7 # The ID of the mlflow run to load the model from # These variables control filters that are applied to either images, image metadata or model predictions. The filter # result values are reported in the service responses. For convenience the response to a request contains a # "filters.allPassed" field, which is set to false if any of the filters returned values did not meet its specified # required value. filters: image_to_page_quotient: # Image size to page size ratio (ratio of geometric means of areas) min: $MIN_REL_IMAGE_SIZE|0.05 # Minimum permissible max: $MAX_REL_IMAGE_SIZE|0.75 # Maximum permissible image_width_to_height_quotient: # Image width to height ratio min: $MIN_IMAGE_FORMAT|0.1 # Minimum permissible max: $MAX_IMAGE_FORMAT|10 # Maximum permissible min_confidence: $MIN_CONFIDENCE|0.5 # Minimum permissible prediction confidence