studiolanes / vision-utils

Scripts to convert 2D images and videos into Spatial versions
https://blog.studiolanes.com/spatial
MIT License
83 stars 7 forks source link

Generated photo isn't spatial #9

Open hboon opened 1 month ago

hboon commented 1 month ago

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?

fangherk commented 1 month ago

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

hboon commented 1 month ago

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

?