Keep stable OpenCV flow with compact Metal capture and pyramid reuse

这个提交包含在:
mac 于 2026-11-06 18:01:57 +08:00 提交
1 父节点 48ac192d4b
当前提交 1cc7f8edb2
15 个文件已更改
+184 -29

没有与搜索条件相匹配的文件

+111
查看文件
@@ -0,0 +1,111 @@
{
"candidateVersion": "1.18.1",
"build": 106,
"sourceBaseline": "ca4abaf2c3dc67c482aaf7182668c3d6d7098268",
"scope": "Local caller-decoded real 4K clip, 25fps, identical 285 frames and initial head ROI. Timed reset/track only; excludes decode, disk I/O, FxAnalyzer scheduling, preview and rendering. This is not end-to-end host speed.",
"resolution": [
3840,
2160
],
"baseline": {
"frames": 285,
"milliseconds": 8776.568616
},
"candidate": {
"frames": 285,
"milliseconds": 1306.087993999999
},
"speedup": 6.7197376105732785,
"maximumTrajectoryDifferences": {
"cx": 0.0,
"cy": 0.0,
"scaleX": 0,
"scaleY": 0,
"rotation": 0
},
"opencvRegression": {
"version": "4.5.1",
"checks": [
{
"name": "pinned-public-opencv-version",
"pass": true,
"error": 0
},
{
"name": "300-feature-capacity",
"pass": true,
"error": 300
},
{
"name": "translation-rotation-independent-xy-scale",
"pass": true,
"error": 0.00329193
},
{
"name": "free-path-outside-creation-box-12-frame-subpixel",
"pass": true,
"error": 0.014753
},
{
"name": "periodic-redetection-keeps-static-position",
"pass": true,
"error": 0
},
{
"name": "unrelated-cut-stops-with-last-trusted-position",
"pass": true,
"error": 0
},
{
"name": "flat-mask-rejected",
"pass": true,
"error": 0
},
{
"name": "moving-majority-prefers-subject-over-static-background",
"pass": true,
"error": 0.00237274
},
{
"name": "independent-tracker-objects-do-not-share-motion",
"pass": true,
"error": 0
},
{
"name": "invalid-frame-preserves-authored-geometry",
"pass": true,
"error": 0
},
{
"name": "nonfinite-source-rejected",
"pass": true,
"error": 0
},
{
"name": "4k-complete-source-frame",
"pass": true,
"error": 0.000107325
},
{
"name": "compact-gpu-byte-input-matches-quantized-float-and-flip",
"pass": true,
"error": 0
}
],
"pass": true,
"count": 13,
"runtimeTargetAppUsed": false
},
"rejectedMetalLK": {
"completedFrames": 132,
"failureFrameIndex": 132,
"reason": "Old Metal LK loses target during turn while OpenCV completes whole clip. Not enabled in production."
},
"productionChanges": [
"Metal emits compact gray8 instead of float; readback 75% smaller",
"Feature detection restricted to target bounds plus halo at full resolution",
"OpenCV pyramids and derivatives reused across both directions and adjacent frames",
"CPU OpenCV LK retained; no experimental optical-flow backend enabled"
],
"hostQA": "Pending signed/notarized installed candidate"
}