pepper.framework.backend.system.camera module

class pepper.framework.backend.system.camera.SystemCamera(resolution, rate, callbacks=[], index=0)[source]

Bases: pepper.framework.abstract.camera.AbstractCamera

System Camera

Parameters:
  • resolution (pepper.framework.CameraResolution) –
  • rate (int) –
  • callbacks (list of callable) –
  • index (int) –
class pepper.framework.backend.system.camera.SystemImage(image, bounds)[source]

Bases: pepper.framework.abstract.camera.AbstractImage

System Image Container

Since Web Cams generally do not have depth sensors, we set every pixel at a depth of one meter.

Parameters:
  • image (np.ndarray) – RGB Image (height, width, 3) as Numpy Array
  • bounds (Bounds) – Image Bounds (View Space) in Spherical Coordinates (Phi, Theta)