Repository navigation
perf(web): index exact camera mask support - #333
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Camera tracking scans an inclusive 45x45 person-mask neighborhood for every feature and track endpoint. Summarize each validated mask into owned empty/full states or a bounded u32 summed-area table, then query mixed support with four entries. Keep finite/margin/truncation rules, validation order, caller independence, public Rust/WASM reports and FAST/LK math.
Validation passes 24 native tests, five feature-disabled tests, release Clippy, Rustfmt, WASM compilation, 84 JS tests, six asset controls and all 82 existing real WASM/model browser controls. Frozen parent/candidate WASM produces 252 identical full JSON reports and 84 matching invalid-call rejections across 42 cases. Native benchmark reports match in both balanced surveys; retain every timing row (27 lower and nine higher paired medians) without claiming a general, phone or GPU speedup.
The source-bound receipt preserves the initial fixture compile failure and corrected retry, all 19 terminal commands, old native/WASM artifacts and prior scientific/camera evidence. Locked offline builds use a capped isolated E-drive target, reuse vendor hardlinks and add zero bytes to the shared compiler cache. See
docs/CAMERA_MASK_SUPPORT.mdanddocs/receipts/2026-10-22_camera_mask_support.json. Physical phone/Safari and operational accuracy qualification remain open.