Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depth Map Export #179

Closed
RelaxingVR opened this issue Jul 16, 2024 · 2 comments
Closed

Depth Map Export #179

RelaxingVR opened this issue Jul 16, 2024 · 2 comments

Comments

@RelaxingVR
Copy link

I had been using the Depth Anything model and additional tools to create SBS images/videos and found your incredible tool. I was looking for ways to export and also import depth/rgb from other tools and I believe it looks possible using the yml file as stated here (#97) - my question is, when I export from your tool the depth map is 686x392 (original frame 3840x2160) - if I use the Depth Anything V2 model directly the depth map is 3840x2160. Are you reducing this file size for export for efficiency, or are the generated frames used by iw3 drastically smaller like this? I am wondering if this is likely to degrade the quality of the final SBS or if you found in testing that it actually functions the same even reducing the depth map and maybe this was a trade-off you found to work well for speed vs quality? Which option could be used to generate larger depth maps? I tried a few and am not sure I found it.

The tool really is amazing and incredible to find all the features in one tool! Thank you so much!

@RelaxingVR
Copy link
Author

Sorry, in addition - is depth-resoultion available in the CLI anywhere?

@nagadomi
Copy link
Owner

The exported depth images are the same size as the model output.
The input image size for the depth estimation model can be changed with Depth Resolution (--zoed-height in CLI).
See #168 for more information on choosing Depth Resolution.

The DepthAnything V2 demo simply resizes it to the same size as the input image.
If your application requires a depth image the same size as the input image, you can resize the depth with bicubic or bilinear.
#149 has a discussion about this processing in iw3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants