Interface Camera

Represents any physical hardware that can capture frames.

Hierarchy

Implemented by

Properties

doCommand: ((command: StructType) => Promise<StructType>)

Type declaration

getImage: ((mimeType?: MimeType) => Promise<Uint8Array>)

Type declaration

    • (mimeType?: MimeType): Promise<Uint8Array>
    • Return a frame from a camera.

      Parameters

      • Optional mimeType: MimeType

        A specific MIME type to request. This is not necessarily the same type that will be returned.

      Returns Promise<Uint8Array>

getPointCloud: (() => Promise<Uint8Array>)

Type declaration

    • (): Promise<Uint8Array>
    • Return a point cloud from a camera.

      Returns Promise<Uint8Array>

getProperties: (() => Promise<Properties>)

Type declaration

    • (): Promise<Properties>
    • Return the camera properties.

      Returns Promise<Properties>

renderFrame: ((mimeType?: MimeType) => Promise<Blob>)

Type declaration

    • (mimeType?: MimeType): Promise<Blob>
    • Render a frame from a camera to an HTTP response.

      Parameters

      • Optional mimeType: MimeType

        A specific MIME type to request. This is not necessarily the same type that will be returned.

      Returns Promise<Blob>

Generated using TypeDoc