This commit is contained in:
Muhammad Abdullah Hayat 2024-01-02 05:42:48 +00:00 committed by GitHub
commit 74b33f0c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,6 +283,9 @@ def plot_landmarks(landmark_list: landmark_pb2.NormalizedLandmarkList,
plt.figure(figsize=(10, 10))
ax = plt.axes(projection='3d')
ax.view_init(elev=elevation, azim=azimuth)
ax.set_xlim((-1,1))
ax.set_ylim((-1,1))
ax.set_zlim((-1,1))
plotted_landmarks = {}
for idx, landmark in enumerate(landmark_list.landmark):
if ((landmark.HasField('visibility') and