jhaoshao / ChronoDepth

ChronoDepth: Learning Temporally Consistent Video Depth from Video Diffusion Priors
MIT License
147 stars 4 forks source link

Export Frames #3

Closed jtsanborn1 closed 1 month ago

jtsanborn1 commented 1 month ago

Hi All,

First of all, thank you for effort on this, I think this is the best depth estimation i've seen out there...

Just one quick question, how could we export png frames instead of a whole .mp4 video? also, is it possible to export only depth instead of colored? if so to both png and depth only, what is the command to do it or section to modify in the python script?

Thanks for this! TIA

jhaoshao commented 1 month ago

Thanks! You could refer to line 259-269 in file run_infer.py :)

jtsanborn1 commented 1 month ago

Thanks! You could refer to line 259-269 in file run_infer.py :)

I think this is for depth colored, but what about exporting frames instead of video file?

jhaoshao commented 1 month ago
image