Overview
Computes dense Farneback optical flow between two consecutive grayscale frames and returns the horizontal and vertical displacement of every pixel. Unlike sparse tracking this covers the whole image, which is what you want for measuring motion in regions with no distinct features to track — smoke, water, crowds, a panning background. Both frames must be the same size and should come from the same camera at a short interval.
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
media/images
Provider
HALOWERK Medien
Indexed
2026-10-25 17:35:27
Health
Status
healthy
Latency (p50)
80ms
Uptime (30d)
100.0%
Reliability Score
97/100
Last Checked
2026-10-31 07:18:12
Last Healthy
2026-10-31 07:18:12
Consecutive Failures
0
Output Schema
{
"example": {
"operation": "dense-frame-optical-flow",
"result": {
"flow_xy": [
[
[
2.065511703491211,
1.0029717683792114
],
[
2.01151442527771,
1.001062035560608
]
],
[
[
2.0867717266082764,
0.97758948802948
],
[
2.046846389770508,
0.9810243248939514
]
]
],
"height": 16,
"warnings": [
"Dense motion estimates can be unreliable at occlusions, uniform regions and large displacement."
],
"width": 16
},
"runtime_ms": 0.385,
"upstream": {
"binary_sha256": "1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c",
"components": [
"calcOpticalFlowFarneback"
],
"numpy_version": "2.5.0",
"package_version": "4.13.0.92",
"project": "OpenCV",
"version": "4.13.0"
}
},
"type": "json"
}