Text-to-3D
image-to-3d
code / elevation_estimate /estimate_wild_imgs.py
chaoxu's picture
elev estimate synced from GitHub
5abebd6
raw
history blame
284 Bytes
import os.path as osp
from .utils.elev_est_api import elev_est_api
def estimate_elev(root_dir):
img_dir = osp.join(root_dir, "stage2_8")
img_paths = []
for i in range(4):
img_paths.append(f"{img_dir}/0_{i}.png")
elev = elev_est_api(img_paths)
return elev