studiolanes / vision-utils

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

Generated photo isn't spatial #9

Open hboon opened 4 weeks ago

hboon commented 4 weeks 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 3 weeks 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 3 weeks 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

?