arrow-hf commited on
Commit
73d687c
·
verified ·
1 Parent(s): 6346139

occlusion recovery demo (Approach A single-object re-seed) + honest caveats

Browse files
occlusion_recovery_demo/README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Occlusion recovery demo (Approach A, single-object re-seed)
2
+
3
+ `occlusion_recovery_demo.mp4` — pink + blue bowls tracked; the **pink** bowl is
4
+ occluded (grey box) so its SAM2 mask vanishes, then reappears. The single-object
5
+ recovery fires: re-detect (OWLv2) → `add_new_points_or_box` at the current frame
6
+ for the pink bowl only → mask re-acquired. The **blue** bowl is never touched
7
+ (that is the point of single-object recovery vs the old full reinit).
8
+
9
+ ## Honest caveats
10
+ - This is a SYNTHETIC occlusion. SAM2 is very robust to clean synthetic occlusion:
11
+ when the *pixel-identical* frame returns it re-locks by appearance on its own —
12
+ even after 12 black frames — so a "without-recovery fails" contrast is NOT
13
+ reproducible synthetically. The video shows the recovery MECHANISM firing, not a
14
+ case where SAM2 would have failed.
15
+ - The mechanism itself is verified numerically by a controlled black-out test:
16
+ bowl area 3490 → black frames drive it to 0 → real frame back → recovery
17
+ re-acquires to 3490 (and the reseed produces a valid mask).
18
+ - The real failure the recovery targets (mask tracking lost during occlusion) is a
19
+ REAL-robot phenomenon: the object's appearance/position drifts during occlusion
20
+ (grasped + rotated, gripper alongside, lighting), which clean sim frames can't
21
+ reproduce. Definitive validation is on the real robot with
22
+ `mask_backend: groundingdino` + `detector: owlv2` (watch for `[occlusion-recovery/A]`).
occlusion_recovery_demo/occlusion_recovery_demo.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bb2b087ec40958574bb0f46d8f759affe201e9b8387343cdea6cf01a2ace4cc
3
+ size 44596