chart_extract
Extract colored curve data from video charts into numeric series with points, min/max, zero crossings, and coverage for analysis.
Instructions
Read coloured curves in axis units -> {series:{name:{points,min,max,zero_crossings,coverage}}}.
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": {
"video": "<video>",
"t": "<t>",
"plot_region": "<plot_region>",
"series": "<series>",
"x_ticks": "<x_ticks>",
"y_ticks": "<y_ticks>"
},
"name": "chart_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | Yes | time in s | |
| video | Yes | video path (relative to workdir ok) | |
| series | Yes | [{name,rgb:[r,g,b],tol?:40}] | |
| samples | No | ||
| x_ticks | Yes | [[px,value],..] >=2 | |
| y_ticks | Yes | [[py,value],..] >=2 | |
| plot_region | Yes | [x0,y0,x1,y1] plot area px |