-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Image Quality Degrades #40
Comments
Same problem.. |
I ended up setting up the output video resolution to match the input
I was going to look at the output video bitrate next, but any help on increasing the sharpness of the output video to more closely approximate the input image would be great. trying libx264 + higher bitrate on the output 2+ Mbps
also going to explore skipping the gaussian blur (may be req by the alg)
|
ended up passing in the original image width to run_depth and using it vs 640. After that I'll circle back to the output video quality in main.py
in run.py run_depth
|
that did it, getting a large/high quality video now |
This still seems to limit my output to a width of 960px. Did you made another other changes? |
I've also changed the frac variable but now main.py won't complete:
|
@victusfate I tried your way and the results are better! For others to follow: These are the steps I took,
PS., If I play with longer_side_len argument to much larger resolution (4500), the code would take for ever (I have one GPU). The RAM shoots up to over 64GB and then the code exit! lack of memory perhaps.. Is there any way I can work with high resolution image with a 64GB RAM or do I need much larger RAM.. If so, how big of a RAM do I need? This seems like a memory leakage for large files! Another issue is that if you output the same size image in the video, some of the pixels would not have the depth info when you zoon in or circle around the object.. This does not happen when you resize the input image. However, if you output the same size as the input by folllowing the steps above, the output video effect would have "gray blocks" with no depth info! dont know why? any idea? |
Hi, I tried your code, but the error is as follows, have you encountered this problem? |
Ensure the following code has not been commented out in main.py.
This should fix your issue. |
Hi - amazing work here! I was experimenting with higher resolution images by increasing the longer_side_len argument to 1920. However - the video quality is a little blurry and does not match the input images which are high res. Is this because you downsample and then upsample them in the process or am I missing some other argument that needs to be updated?
The text was updated successfully, but these errors were encountered: