ocr_frames
Extract on-screen text such as slides, code, UI, or subtitles from video frames; returns timestamped recognized text without images. Runs locally to save tokens and avoid cloud processing.
Instructions
Read the TEXT shown in a video (slides, code, UI, burned-in subtitles) without returning images, so it is cheap in tokens. Frames come from scene changes (default) or even spacing. Output: timestamp and recognised text per frame. Runs locally (rapidocr), no cloud.
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": {
"url": "<url>"
},
"name": "ocr_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| url | Yes | ||
| mode | No | scenes | |
| start | No | ||
| n_frames | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |