anki_vector.camera

Support for Vector’s camera.

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

The CameraComponent class defined in this module is made available as anki_vector.robot.Robot.camera and can be used to enable/disable image sending and observe images being sent by the robot. It emits EvtNewRawCameraImage and EvtNewCameraImage objects whenever a new camera image is available.

The camera resolution is 1280 x 720 with a field of view of 90 deg (H) x 50 deg (V).

Classes

CameraComponent(robot)

Represents Vector's camera.

CameraConfig(focal_length_x, focal_length_y, ...)

The fixed properties for Vector's camera.

CameraImage(raw_image, image_annotator, image_id)

A single image from the robot's camera.

EvtNewCameraImage(image)

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

EvtNewRawCameraImage(image)

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