vision-utils icon indicating copy to clipboard operation
vision-utils copied to clipboard

Generated photo isn't spatial

Open hboon opened this issue 1 year ago • 5 comments

After running python main.py --photo <filename.jpg> on a few different photos, it generates these files:

depth_image.jpg
output.heic
stereo_left.png
stereo_right.png

and i can see stereo_left.png and stereo_right.png are slightly different (so I suppose generation worked).

But when I Airdrop output.heic to my Vision Pro and view it in the Photos.app, it's apparently not a spatial photo.

Have I missed something?

hboon avatar Oct 11 '24 05:10 hboon

Hmm, do you have any extra debugging information? Just tried this in the simulator locally and it shows up in the spatial photos tab

fangherk avatar Oct 15 '24 21:10 fangherk

Would it help if you drop a link to any photo you think/know it should work on, and I can send the resulting files:

depth_image.jpg
output.heic
stereo_left.png
stereo_right.png

?

hboon avatar Oct 16 '24 02:10 hboon

I meet this question as you too. Have you solved it? I guess it may be caused by the "picComber"

RicardoYoung96 avatar Feb 27 '25 09:02 RicardoYoung96

No, I have not

hboon avatar Feb 27 '25 11:02 hboon

Hey can I get spatial photo output and if not what should be logic to get it from depth map. I tried various methods bt it stretches at edges of subject

shubhxtech avatar Nov 23 '25 18:11 shubhxtech