Closed meiguiz closed 2 years ago
By using cv2.imread, you can load the depth image to a numpy array.
cv2.imread
import cv2 import numpy as np depth = cv2.imread("depth.png", cv2.IMREAD_UNCHANGED) np.save("depth.npy", depth)
By using
cv2.imread
, you can load the depth image to a numpy array.