Image capturing Flow updates

This commit is contained in:
sriram
2026-09-24 17:18:38 +05:30
parent f933ea10a1
commit fe208f4715
14 changed files with 1877 additions and 6 deletions

View File

@@ -339,6 +339,22 @@ ENABLE_SERVER_OCR=true
#IMAGE_IDENTIFY_MIN_IMAGE_SCORE=0.70
#IMAGE_IDENTIFY_MIN_TEXT_SCORE=0.60
# Capture-to-catalog: when identify cannot confirm a photo, read the label and -
# for a brand already in the catalog - add the product through the 11-stage
# pipeline in the background (validation_status=needs_review). The response
# carries a provisional card and a job id to poll at
# GET /api/search/identify/jobs/{id}. OFF by default: it is the only way a
# public route writes to a brand table. See app/services/capture_discovery.py.
ENABLE_CAPTURE_DISCOVERY=false
#CAPTURE_DIR=/app/data/captures
#CAPTURE_QUEUE_MAX=8
#CAPTURE_MAX_PER_CLIENT_PER_HOUR=20
# The API's public base URL. Set it to let the colleague's photo become the
# product image when the web search finds none; blank = never.
#CAPTURE_PUBLIC_BASE_URL=https://api.example.com
#CAPTURE_RETAIL_CHECK=true
#CAPTURE_USE_LLM=true
# Product SKU: try a live web search for a real marketplace product ID
# (Amazon ASIN, Flipkart PID, etc.) before falling back to an internal SKU.
# Set to false to always generate internal SKUs only (faster, offline-safe).