enhance_and_decode
Enhance a specific image region by applying upscale, sharpen, contrast, or denoise operations, then decode the QR code from that region.
Instructions
Apply enhancement operations to a region of the image, then decode.Enhancement strategy is decided by the Agent based on decode_qrcode_full diagnostics.Supports upscale, sharpen, adjust_contrast, denoise — composable in any order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | Target region [x, y, width, height] | |
| image_url | No | Public image URL — use when the image is at a remote location. | |
| image_path | No | Local image absolute path — preferred when available. | |
| operations | No | List of enhancement operations, applied in order.If omitted, crops the region and decodes directly (no enhancement). | |
| image_base64 | No | Base64-encoded image — use when the image is in memory. Large images are auto-resized. |