Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@thomasweng15
Created February 15, 2019 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasweng15/3dc3ed8094aca18f57159c56942d613d to your computer and use it in GitHub Desktop.
Save thomasweng15/3dc3ed8094aca18f57159c56942d613d to your computer and use it in GitHub Desktop.
open efort depth img
import numpy as np
import matplotlib.pyplot as plt
import cv2
im = cv2.imread("2019-02-13-19-03-1912345DepthImage.png", cv2.IMREAD_UNCHANGED)
color_im = cv2.applyColorMap(im.astype(np.uint8), cv2.COLORMAP_JET)
plt.imshow(color_im)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment