Enhance configuration and processing with DeerMapper API integration, adjustable parameters, and improved error handling
This commit is contained in:
19
config.yaml
19
config.yaml
@@ -8,6 +8,10 @@ s3:
|
||||
postgres:
|
||||
dsn: "postgresql://postgres:DFGk5s9H21lKao2K@136.243.41.58:7777/meles"
|
||||
|
||||
deermapper-api:
|
||||
base_url: "https://webapp.deermapper.net/api/icu"
|
||||
apiKey: "695bc217-3b40-48bb-bb12-17fc5b08b320"
|
||||
|
||||
app:
|
||||
entrance_prefix: "icu/entrance/"
|
||||
processed_prefix: "icu/processed/"
|
||||
@@ -15,8 +19,17 @@ app:
|
||||
min_age_seconds: 90
|
||||
poll_seconds: 30
|
||||
# OCR crop tunables (defaults are usually fine)
|
||||
ocr_crop_w_frac: 0.42
|
||||
ocr_crop_h_frac: 0.22
|
||||
ocr_crop_w_frac: 0.63
|
||||
ocr_crop_h_frac: 0.05
|
||||
thumb_max: 512
|
||||
exiftool_timeout_seconds: 15
|
||||
job_sleep_seconds: 1.0
|
||||
job_sleep_seconds: 0.0
|
||||
parallel_workers: 6
|
||||
s3_max_pool_connections: 48
|
||||
# Optional processing switches:
|
||||
# - false => image still gets moved + thumbnail, and backfill flag is set in import_job
|
||||
enable_ocr: true
|
||||
enable_exif: true
|
||||
enable_deermapper_api: false
|
||||
deermapper_api_timeout_seconds: 20
|
||||
deermapper_api_image_field: "image"
|
||||
|
||||
Reference in New Issue
Block a user