princeton-vl / RAFT-3D

BSD 3-Clause "New" or "Revised" License
233 stars 26 forks source link

Does this project support the depth that is ".png" format? #13

Open zhanghua7099 opened 2 years ago

zhanghua7099 commented 2 years ago

Hi!

I'm very interested in this project. The demo.py gives a good example. But I found that the depth input is in ".pfm" format: https://github.com/princeton-vl/RAFT-3D/blob/877eb806cd0261ec828c684b41ecdb2490dccbb3/scripts/demo.py#L65

Can I use the ".png" format as the depth image? THX!

ZJU-PLP commented 1 year ago

@zhanghua7099 Have you solved this problem? If so, could you mind offering the method to run demo.py by ".png" format as the depth image?