detect_barcodes
Detect and decode barcodes, QR codes, and other 1D/2D symbologies from a local image using Apple Vision offline. Returns decoded values and symbology types.
Instructions
Detect and decode barcodes or QR codes in a local image file using Apple Vision (offline, no API key needed).
USE WHEN: The user wants to read a QR code, barcode, EAN, UPC, Code128, PDF417, Aztec, DataMatrix or other 1D/2D code from a local file. DO NOT USE for: text extraction (use ocr_image), face detection (use detect_faces).
Supported symbologies: QR, EAN-8, EAN-13, UPC-E, Code39, Code93, Code128, ITF, PDF417, Aztec, DataMatrix, GS1DataBar and more.
Returns: JSON array of detected codes, each with its decoded value and symbology type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the image file |