rectify_region
Correct perspective distortion in angled hardware or screen captures, returning a flat top-down image for precise inspection or OCR.
Instructions
Capture and perspective-correct (unwarp/rectify) an angled hardware region or screen into a flat, orthogonal top-down image. Returns the rectified image for high-precision inspection or OCR.
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": {
"region": "<region>"
},
"name": "rectify_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | Camera ID (default: primary camera) | |
| format | No | Image format (default jpeg) | jpeg |
| region | Yes | Name of the defined region to rectify |