diff --git a/src/viam/components/camera/camera.py b/src/viam/components/camera/camera.py index d2c220684..76bfc6370 100644 --- a/src/viam/components/camera/camera.py +++ b/src/viam/components/camera/camera.py @@ -48,7 +48,7 @@ async def get_image( :: - from viam.media.video import CameraMimeType + from viam.media.video import CameraMimeType my_camera = Camera.from_robot(robot=machine, name="my_camera") @@ -102,6 +102,7 @@ async def get_point_cloud( by the mimetype. To deserialize the returned information into a numpy array, use the Open3D library. + :: import numpy as np