Tất cả Tool›Đọc mã QR
Công cụ QR

Đọc mã QR

qr-code-reader

Use QR Code Reader through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDqr-code-reader
Version1
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Embedded

Quick actions

Input files 1Output files 0

Đầu vào

Accepted input contract for this Tool.

Kindfile
File count1 – 1
Accepted MIME typesimage/jpeg, image/png, image/webp

Tham số

Pass these values through request.options.

Parameter Type Bắt buộc Mặc định Giá trị / Phạm vi Mô tả
Không có

Đầu ra

Result contract returned after successful processing.

Typedata
File count0 – 0
MIME typesKhông có
MetadatacontentLength, isUrl, inputBytes, width, height
ZIP archiveNo

Ví dụ cơ bản

Choose a supported integration mode and copy the generated starter code.

Headless

const result = await client.run("qr-code-reader", {
  file
  
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "qr-code-reader", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.