qr_data_extract
Extract QR code data region pixels excluding function patterns. Returns raw pixel values for manual analysis of potentially modified data regions.
Instructions
Extract QR data region pixels from an image. Identifies the QR code grid, excludes function patterns (finder, timing, alignment), and returns the raw pixel values from the data/ECC modules. Useful for manual analysis of potentially modified data regions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "qr_data_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to QR code image file (BMP for best results) | |
| threshold | No | Black/white threshold (0-255, default: 128) |