Sizing a Two-Camera Hand Tracker to Survive Losing Half Its Compute

A dual-camera hand skeleton rig keeps working after a fault only if the remaining inference node, now carrying both video streams, stays inside the latency budget. Peak throughput has little to do with it. The model below follows one calculation from the latency budget to the failover margin, and every figure in it is an estimate to be replaced by your own bench data.

The budget and the two inputs

Start from the interaction requirement, not the silicon. For direct manipulation of virtual objects, users notice lag once the time from hand movement to visible response goes beyond about 50 ms (estimate). That is the one parameter everything else must fit. Split the pipeline into a fixed overhead O, which covers sensor exposure, readout, transport, stereo fusion, kinematic solving and render, and a per-stream inference cost t, which is the time for the hand skeleton network to process one frame from one camera. On a typical embedded accelerator, take O at about 20 ms (estimate) and t at about 9 ms (estimate), where t is the p99 latency at full input resolution and not the mean. In normal operation each camera has its own accelerator, so latency is O plus t, about 29 ms (estimate), which looks comfortable, but this is not the number that determines the hardware you need.

Failover arithmetic and its error bars

When one accelerator drops out, the survivor processes both streams one after the other. Latency becomes O plus 2t, about 38 ms (estimate), which leaves a margin of about 12 ms (estimate) under the budget. The error bars come almost entirely from t, because O is set by the sensor and the bus and changes little, while t moves with clock throttling, memory contention and input content. Solve for the point where the margin disappears: t can grow to (L minus O) divided by 2, about 15 ms (estimate), before the degraded system misses its budget. That is roughly two thirds above the bench value (estimate), and a passively cooled accelerator running in a warm enclosure, now doing twice its normal work, can reach that inflation through thermal throttling alone. So measure t on the survivor after it has run both streams long enough to reach its steady thermal state, not on a cold board serving one camera.

The failure mode that actually breaks these systems is not a dead node but a stalled one, which keeps answering its heartbeat while sending skeletons that are several frames old, so the fusion stage keeps trusting a stale pose and the cursor drifts without any alarm, and the fix is to timestamp every joint set at exposure and have the fusion stage reject any stream whose data is older than the margin calculated above.

The decision rule and what it costs

Size the hardware so that O plus k times t_p99 stays within L, where k is the number of streams a single node must carry after the worst single fault, and measure t_p99 under that fault condition. If the inequality fails, you have two honest choices. You can buy more compute per node, or you can define a degraded mode in which the survivor drops to its better-placed camera, tracks in monocular mode and estimates depth from the hand's known bone lengths, which keeps you within the budget but makes fingertip depth noticeably less precise. Functional safety standards such as IEC 61508 treat this second path as acceptable only if the degraded state is specified, detectable and announced to the user, so the touchless interface has to show the user that precision has dropped rather than quietly accept a coarser pinch. The open question for the hardware engineer is cost: the extra compute needed so the survivor can carry both streams at full precision usually costs more than the cooling needed to keep t from inflating, so check the thermal design before choosing a larger accelerator.

Why size on p99 inference time instead of the mean?

Users notice the slow frames, not the average ones, and after a failover the survivor is running hotter and more heavily loaded, so the slowest frames, which the p99 captures, are what push latency past the budget.

Back to GestureAPI · Domains

← Back to GestureAPI
Engineering & Architecture Brief

Sizing a Two-Camera Hand Tracker to Survive Losing Half Its Compute

A dual-camera hand skeleton rig keeps working after a fault only if the remaining inference node, now carrying both video streams, stays inside the latency budget. Peak throughput has little to do with it. The model below follows one calculation from the latency budget to the failover margin, and every figure in it is an estimate to be replaced by your own bench data.

The budget and the two inputs

Start from the interaction requirement, not the silicon. For direct manipulation of virtual objects, users notice lag once the time from hand movement to visible response goes beyond about 50 ms (estimate). That is the one parameter everything else must fit. Split the pipeline into a fixed overhead O, which covers sensor exposure, readout, transport, stereo fusion, kinematic solving and render, and a per-stream inference cost t, which is the time for the hand skeleton network to process one frame from one camera. On a typical embedded accelerator, take O at about 20 ms (estimate) and t at about 9 ms (estimate), where t is the p99 latency at full input resolution and not the mean. In normal operation each camera has its own accelerator, so latency is O plus t, about 29 ms (estimate), which looks comfortable, but this is not the number that determines the hardware you need.

Failover arithmetic and its error bars

When one accelerator drops out, the survivor processes both streams one after the other. Latency becomes O plus 2t, about 38 ms (estimate), which leaves a margin of about 12 ms (estimate) under the budget. The error bars come almost entirely from t, because O is set by the sensor and the bus and changes little, while t moves with clock throttling, memory contention and input content. Solve for the point where the margin disappears: t can grow to (L minus O) divided by 2, about 15 ms (estimate), before the degraded system misses its budget. That is roughly two thirds above the bench value (estimate), and a passively cooled accelerator running in a warm enclosure, now doing twice its normal work, can reach that inflation through thermal throttling alone. So measure t on the survivor after it has run both streams long enough to reach its steady thermal state, not on a cold board serving one camera.

The failure mode that actually breaks these systems is not a dead node but a stalled one, which keeps answering its heartbeat while sending skeletons that are several frames old, so the fusion stage keeps trusting a stale pose and the cursor drifts without any alarm, and the fix is to timestamp every joint set at exposure and have the fusion stage reject any stream whose data is older than the margin calculated above.

The decision rule and what it costs

Size the hardware so that O plus k times t_p99 stays within L, where k is the number of streams a single node must carry after the worst single fault, and measure t_p99 under that fault condition. If the inequality fails, you have two honest choices. You can buy more compute per node, or you can define a degraded mode in which the survivor drops to its better-placed camera, tracks in monocular mode and estimates depth from the hand's known bone lengths, which keeps you within the budget but makes fingertip depth noticeably less precise. Functional safety standards such as IEC 61508 treat this second path as acceptable only if the degraded state is specified, detectable and announced to the user, so the touchless interface has to show the user that precision has dropped rather than quietly accept a coarser pinch. The open question for the hardware engineer is cost: the extra compute needed so the survivor can carry both streams at full precision usually costs more than the cooling needed to keep t from inflating, so check the thermal design before choosing a larger accelerator.

Technical FAQ: Why size on p99 inference time instead of the mean?

Users notice the slow frames, not the average ones, and after a failover the survivor is running hotter and more heavily loaded, so the slowest frames, which the p99 captures, are what push latency past the budget.

Related Architecture Specifications (POSEAUDIT): bodydetect.com · gestureengine.com · liveposture.com

More Technical Articles on gestureapi.com

Sub-Millimeter Jitter Filtering in Real-Time 3D Hand Skeletal Trajectories Using Adaptive Kalman Filters →Comparative Benchmarks of Deep Neural Network Architectures for Monocular Gesture Inference on Edge SoCs →