// @generated by protoc-gen-es v1.10.0 // @generated from file component/camera/v1/camera.proto (package viam.component.camera.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { Orientation, ResponseMetadata, Vector3 } from "../../../common/v1/common_pb.js"; import type { Annotations } from "../../../app/data/v1/data_pb.js"; /** * @generated from message viam.component.camera.v1.GetImagesRequest */ export declare class GetImagesRequest extends Message { /** * Name of a camera * * @generated from field: string name = 1; */ name: string; /** * The names of the sensors to retrieve images from. If this is not provided, * all images from all sensors will be returned. * * @generated from field: repeated string filter_source_names = 2; */ filterSourceNames: string[]; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.GetImagesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetImagesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetImagesRequest; static fromJsonString(jsonString: string, options?: Partial): GetImagesRequest; static equals(a: GetImagesRequest | PlainMessage | undefined, b: GetImagesRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.GetImagesResponse */ export declare class GetImagesResponse extends Message { /** * list of images returned from the camera system * * @generated from field: repeated viam.component.camera.v1.Image images = 1; */ images: Image[]; /** * contains timestamp data * * @generated from field: viam.common.v1.ResponseMetadata response_metadata = 84260; */ responseMetadata?: ResponseMetadata; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.GetImagesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetImagesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetImagesResponse; static fromJsonString(jsonString: string, options?: Partial): GetImagesResponse; static equals(a: GetImagesResponse | PlainMessage | undefined, b: GetImagesResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.Image */ export declare class Image extends Message { /** * the name of the sensor where the image came from * * @generated from field: string source_name = 1; */ sourceName: string; /** * image in bytes * * @generated from field: bytes image = 3; */ image: Uint8Array; /** * The mime type of the image * * @generated from field: string mime_type = 4; */ mimeType: string; /** * annotations can be used to store additional information about the image * * @generated from field: viam.app.data.v1.Annotations annotations = 5; */ annotations?: Annotations; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.Image"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Image; static fromJson(jsonValue: JsonValue, options?: Partial): Image; static fromJsonString(jsonString: string, options?: Partial): Image; static equals(a: Image | PlainMessage | undefined, b: Image | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.GetPointCloudRequest */ export declare class GetPointCloudRequest extends Message { /** * Name of a camera * * @generated from field: string name = 1; */ name: string; /** * Requested MIME type of response * * @generated from field: string mime_type = 2; */ mimeType: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.GetPointCloudRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPointCloudRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetPointCloudRequest; static fromJsonString(jsonString: string, options?: Partial): GetPointCloudRequest; static equals(a: GetPointCloudRequest | PlainMessage | undefined, b: GetPointCloudRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.GetPointCloudResponse */ export declare class GetPointCloudResponse extends Message { /** * Actual MIME type of response * * @generated from field: string mime_type = 1; */ mimeType: string; /** * Frame in bytes * * @generated from field: bytes point_cloud = 2; */ pointCloud: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.GetPointCloudResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPointCloudResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetPointCloudResponse; static fromJsonString(jsonString: string, options?: Partial): GetPointCloudResponse; static equals(a: GetPointCloudResponse | PlainMessage | undefined, b: GetPointCloudResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.GetPropertiesRequest */ export declare class GetPropertiesRequest extends Message { /** * Name of a camera * * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.GetPropertiesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPropertiesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetPropertiesRequest; static fromJsonString(jsonString: string, options?: Partial): GetPropertiesRequest; static equals(a: GetPropertiesRequest | PlainMessage | undefined, b: GetPropertiesRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.GetPropertiesResponse */ export declare class GetPropertiesResponse extends Message { /** * A boolean property determining whether the camera supports the return of pointcloud data * * @generated from field: bool supports_pcd = 1; */ supportsPcd: boolean; /** * Parameters for doing a perspective of a 3D scene to a 2D plane * If camera does not provide intrinsic parameters, leave the field empty * Initializing the parameters with 0-values is considered an error * * @generated from field: viam.component.camera.v1.IntrinsicParameters intrinsic_parameters = 2; */ intrinsicParameters?: IntrinsicParameters; /** * Parameters for modeling lens distortion in cameras * If camera does not provide distortion parameters, leave the field empty * Initializing the parameters with 0-values is considered an error * * @generated from field: viam.component.camera.v1.DistortionParameters distortion_parameters = 3; */ distortionParameters?: DistortionParameters; /** * Supported MIME types by the camera * * @generated from field: repeated string mime_types = 4; */ mimeTypes: string[]; /** * Optional camera frame rate for image capture timing * * @generated from field: optional float frame_rate = 5; */ frameRate?: number; /** * Parameters for the camera's position relative to a reference frame * If camera does not provide extrinsic parameters, leave the field empty * * @generated from field: viam.component.camera.v1.ExtrinsicParameters extrinsic_parameters = 6; */ extrinsicParameters?: ExtrinsicParameters; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.GetPropertiesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetPropertiesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetPropertiesResponse; static fromJsonString(jsonString: string, options?: Partial): GetPropertiesResponse; static equals(a: GetPropertiesResponse | PlainMessage | undefined, b: GetPropertiesResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.Webcams */ export declare class Webcams extends Message { /** * @generated from field: repeated viam.component.camera.v1.Webcam webcams = 1; */ webcams: Webcam[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.Webcams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Webcams; static fromJson(jsonValue: JsonValue, options?: Partial): Webcams; static fromJsonString(jsonString: string, options?: Partial): Webcams; static equals(a: Webcams | PlainMessage | undefined, b: Webcams | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.Webcam */ export declare class Webcam extends Message { /** * Camera driver label (for internal use only) * * @generated from field: string label = 1; */ label: string; /** * Camera driver status * * @generated from field: string status = 2; */ status: string; /** * Camera properties * * @generated from field: repeated viam.component.camera.v1.Property properties = 3; */ properties: Property[]; /** * Camera human-readable driver name * * @generated from field: string name = 4; */ name: string; /** * Camera unique identifier * * @generated from field: string id = 5; */ id: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.Webcam"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Webcam; static fromJson(jsonValue: JsonValue, options?: Partial): Webcam; static fromJsonString(jsonString: string, options?: Partial): Webcam; static equals(a: Webcam | PlainMessage | undefined, b: Webcam | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.Property */ export declare class Property extends Message { /** * Video resolution width in px * * @generated from field: int32 width_px = 1; */ widthPx: number; /** * Video resolution height in px * * @generated from field: int32 height_px = 2; */ heightPx: number; /** * Video frame format * * @generated from field: string frame_format = 3; */ frameFormat: string; /** * Video frame rate in fps * * @generated from field: float frame_rate = 4; */ frameRate: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.Property"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Property; static fromJson(jsonValue: JsonValue, options?: Partial): Property; static fromJsonString(jsonString: string, options?: Partial): Property; static equals(a: Property | PlainMessage | undefined, b: Property | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.IntrinsicParameters */ export declare class IntrinsicParameters extends Message { /** * @generated from field: uint32 width_px = 1; */ widthPx: number; /** * @generated from field: uint32 height_px = 2; */ heightPx: number; /** * @generated from field: double focal_x_px = 3; */ focalXPx: number; /** * @generated from field: double focal_y_px = 4; */ focalYPx: number; /** * @generated from field: double center_x_px = 5; */ centerXPx: number; /** * @generated from field: double center_y_px = 6; */ centerYPx: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.IntrinsicParameters"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IntrinsicParameters; static fromJson(jsonValue: JsonValue, options?: Partial): IntrinsicParameters; static fromJsonString(jsonString: string, options?: Partial): IntrinsicParameters; static equals(a: IntrinsicParameters | PlainMessage | undefined, b: IntrinsicParameters | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.camera.v1.DistortionParameters */ export declare class DistortionParameters extends Message { /** * @generated from field: string model = 1; */ model: string; /** * @generated from field: repeated double parameters = 2; */ parameters: number[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.DistortionParameters"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DistortionParameters; static fromJson(jsonValue: JsonValue, options?: Partial): DistortionParameters; static fromJsonString(jsonString: string, options?: Partial): DistortionParameters; static equals(a: DistortionParameters | PlainMessage | undefined, b: DistortionParameters | PlainMessage | undefined): boolean; } /** * ExtrinsicParameters define the position of the camera * relative to a reference frame (the world or another sensor). * * @generated from message viam.component.camera.v1.ExtrinsicParameters */ export declare class ExtrinsicParameters extends Message { /** * The translation from the reference frame to the camera. * * @generated from field: viam.common.v1.Vector3 translation = 1; */ translation?: Vector3; /** * The orientation from the reference frame to the camera. * * @generated from field: viam.common.v1.Orientation orientation = 2; */ orientation?: Orientation; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.camera.v1.ExtrinsicParameters"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ExtrinsicParameters; static fromJson(jsonValue: JsonValue, options?: Partial): ExtrinsicParameters; static fromJsonString(jsonString: string, options?: Partial): ExtrinsicParameters; static equals(a: ExtrinsicParameters | PlainMessage | undefined, b: ExtrinsicParameters | PlainMessage | undefined): boolean; }