lesingo

ADR-0006: Bounded synchronous FrameOutput for the first detector

Context

The first implementation validated VisionCamera 5, React Native Worklets, Nitro, and MediaPipe together on Android. Passing the native result callback through a second Worklets runtime created by AsyncRunner did not preserve the React Native remote function with the pinned dependency combination.

MediaPipe’s MediaImageBuilder path also rejected the camera’s YUV media image and required an Android RGBA_8888 image. The initial decision therefore needs an evidence-based runtime refinement without moving pixels onto the JavaScript thread.

Decision

For the first public Android slice:

Consequences

Positive

Negative and risks

Alternatives considered

Validation

References