Image detect barcode
Try it interactively →POST /api/image-detect-barcodeDetect and decode 1D barcodes in an image. Supports EAN-13, UPC, Code 128, Code 39, ITF, and Codabar. Returns each code's text plus its bounding rectangle.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | JPEG, PNG, WebP, or BMP image bytes. |
| multi | boolean | true | Detect every barcode in the image (true) or stop at the first one found (false). |
Response
Modes: json. Cache: yes (24h TTL).