cozmo.camera

Support for Cozmo’s camera.

Cozmo has a built-in camera which he uses to observe the world around him.

The Camera class defined in this module is made available as cozmo.world.World.camera and can be used to enable/disable image sending, enable/disable color images, modify various camera settings, read the robot’s unique camera calibration settings, as well as observe raw unprocessed images being sent by the robot.

Generally, however, it is more useful to observe cozmo.world.EvtNewCameraImage events, which include the raw camera images along with annotated images, which can illustrate objects the robot has identified.

Classes

Camera(robot, **kw)

Represents Cozmo's camera.

CameraConfig(focal_length_x, focal_length_y, ...)

The fixed properties for Cozmo's Camera

EvtNewRawCameraImage(**kwargs)

Dispatched when a new raw image is received from the robot's camera.

EvtRobotObservedMotion(**kwargs)

Generated when the robot observes motion.