// @generated by protoc-gen-es v1.10.0 // @generated from file service/vision/v1/vision.proto (package viam.service.vision.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 { PointCloudObject } from "../../../common/v1/common_pb.js"; import type { Image } from "../../../component/camera/v1/camera_pb.js"; /** * @generated from message viam.service.vision.v1.GetDetectionsRequest */ export declare class GetDetectionsRequest extends Message { /** * name of the vision service * * @generated from field: string name = 1; */ name: string; /** * the image, encoded as bytes * * @generated from field: bytes image = 2; */ image: Uint8Array; /** * the width of the image * * @generated from field: int64 width = 3; */ width: bigint; /** * the height of the image * * @generated from field: int64 height = 4; */ height: bigint; /** * the actual MIME type of image * * @generated from field: string mime_type = 5; */ 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.service.vision.v1.GetDetectionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDetectionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetDetectionsRequest; static fromJsonString(jsonString: string, options?: Partial): GetDetectionsRequest; static equals(a: GetDetectionsRequest | PlainMessage | undefined, b: GetDetectionsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetDetectionsResponse */ export declare class GetDetectionsResponse extends Message { /** * the bounding boxes and labels * * @generated from field: repeated viam.service.vision.v1.Detection detections = 1; */ detections: Detection[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.GetDetectionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDetectionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetDetectionsResponse; static fromJsonString(jsonString: string, options?: Partial): GetDetectionsResponse; static equals(a: GetDetectionsResponse | PlainMessage | undefined, b: GetDetectionsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetDetectionsFromCameraRequest */ export declare class GetDetectionsFromCameraRequest extends Message { /** * name of the vision service * * @generated from field: string name = 1; */ name: string; /** * name of camera source to use as input * * @generated from field: string camera_name = 2; */ cameraName: string; /** * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.GetDetectionsFromCameraRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDetectionsFromCameraRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetDetectionsFromCameraRequest; static fromJsonString(jsonString: string, options?: Partial): GetDetectionsFromCameraRequest; static equals(a: GetDetectionsFromCameraRequest | PlainMessage | undefined, b: GetDetectionsFromCameraRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetDetectionsFromCameraResponse */ export declare class GetDetectionsFromCameraResponse extends Message { /** * the bounding boxes and labels * * @generated from field: repeated viam.service.vision.v1.Detection detections = 1; */ detections: Detection[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.GetDetectionsFromCameraResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDetectionsFromCameraResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetDetectionsFromCameraResponse; static fromJsonString(jsonString: string, options?: Partial): GetDetectionsFromCameraResponse; static equals(a: GetDetectionsFromCameraResponse | PlainMessage | undefined, b: GetDetectionsFromCameraResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.Detection */ export declare class Detection extends Message { /** * the four corners of the box * * @generated from field: optional int64 x_min = 1; */ xMin?: bigint; /** * @generated from field: optional int64 y_min = 2; */ yMin?: bigint; /** * @generated from field: optional int64 x_max = 3; */ xMax?: bigint; /** * @generated from field: optional int64 y_max = 4; */ yMax?: bigint; /** * the confidence of the detection * * @generated from field: double confidence = 5; */ confidence: number; /** * label associated with the detected object * * @generated from field: string class_name = 6; */ className: string; /** * the four corners of the box, in proportion to the respective image * dimension * * @generated from field: optional double x_min_normalized = 7; */ xMinNormalized?: number; /** * @generated from field: optional double y_min_normalized = 8; */ yMinNormalized?: number; /** * @generated from field: optional double x_max_normalized = 9; */ xMaxNormalized?: number; /** * @generated from field: optional double y_max_normalized = 10; */ yMaxNormalized?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.Detection"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Detection; static fromJson(jsonValue: JsonValue, options?: Partial): Detection; static fromJsonString(jsonString: string, options?: Partial): Detection; static equals(a: Detection | PlainMessage | undefined, b: Detection | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetClassificationsRequest */ export declare class GetClassificationsRequest extends Message { /** * name of the vision service * * @generated from field: string name = 1; */ name: string; /** * the image encoded as bytes * * @generated from field: bytes image = 2; */ image: Uint8Array; /** * the width of the image * * @generated from field: int32 width = 3; */ width: number; /** * the height of the image * * @generated from field: int32 height = 4; */ height: number; /** * the actual MIME type of image * * @generated from field: string mime_type = 5; */ mimeType: string; /** * the number of classifications desired * * @generated from field: int32 n = 6; */ n: number; /** * 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.service.vision.v1.GetClassificationsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetClassificationsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetClassificationsRequest; static fromJsonString(jsonString: string, options?: Partial): GetClassificationsRequest; static equals(a: GetClassificationsRequest | PlainMessage | undefined, b: GetClassificationsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetClassificationsResponse */ export declare class GetClassificationsResponse extends Message { /** * @generated from field: repeated viam.service.vision.v1.Classification classifications = 1; */ classifications: Classification[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.GetClassificationsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetClassificationsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetClassificationsResponse; static fromJsonString(jsonString: string, options?: Partial): GetClassificationsResponse; static equals(a: GetClassificationsResponse | PlainMessage | undefined, b: GetClassificationsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetClassificationsFromCameraRequest */ export declare class GetClassificationsFromCameraRequest extends Message { /** * name of the vision service * * @generated from field: string name = 1; */ name: string; /** * the image encoded as bytes * * @generated from field: string camera_name = 2; */ cameraName: string; /** * the number of classifications desired * * @generated from field: int32 n = 3; */ n: number; /** * 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.service.vision.v1.GetClassificationsFromCameraRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetClassificationsFromCameraRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetClassificationsFromCameraRequest; static fromJsonString(jsonString: string, options?: Partial): GetClassificationsFromCameraRequest; static equals(a: GetClassificationsFromCameraRequest | PlainMessage | undefined, b: GetClassificationsFromCameraRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetClassificationsFromCameraResponse */ export declare class GetClassificationsFromCameraResponse extends Message { /** * @generated from field: repeated viam.service.vision.v1.Classification classifications = 1; */ classifications: Classification[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.GetClassificationsFromCameraResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetClassificationsFromCameraResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetClassificationsFromCameraResponse; static fromJsonString(jsonString: string, options?: Partial): GetClassificationsFromCameraResponse; static equals(a: GetClassificationsFromCameraResponse | PlainMessage | undefined, b: GetClassificationsFromCameraResponse | PlainMessage | undefined): boolean; } /** * the general form of the output from a classifier * * @generated from message viam.service.vision.v1.Classification */ export declare class Classification extends Message { /** * the class name * * @generated from field: string class_name = 1; */ className: string; /** * the confidence score of the classification * * @generated from field: double confidence = 2; */ confidence: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.Classification"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Classification; static fromJson(jsonValue: JsonValue, options?: Partial): Classification; static fromJsonString(jsonString: string, options?: Partial): Classification; static equals(a: Classification | PlainMessage | undefined, b: Classification | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetObjectPointCloudsRequest */ export declare class GetObjectPointCloudsRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * Name of a camera * * @generated from field: string camera_name = 2; */ cameraName: string; /** * Requested MIME type of response * * @generated from field: string mime_type = 3; */ 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.service.vision.v1.GetObjectPointCloudsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetObjectPointCloudsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetObjectPointCloudsRequest; static fromJsonString(jsonString: string, options?: Partial): GetObjectPointCloudsRequest; static equals(a: GetObjectPointCloudsRequest | PlainMessage | undefined, b: GetObjectPointCloudsRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetObjectPointCloudsResponse */ export declare class GetObjectPointCloudsResponse extends Message { /** * Actual MIME type of response * * @generated from field: string mime_type = 1; */ mimeType: string; /** * List of objects in the scene * * @generated from field: repeated viam.common.v1.PointCloudObject objects = 2; */ objects: PointCloudObject[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.GetObjectPointCloudsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetObjectPointCloudsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetObjectPointCloudsResponse; static fromJsonString(jsonString: string, options?: Partial): GetObjectPointCloudsResponse; static equals(a: GetObjectPointCloudsResponse | PlainMessage | undefined, b: GetObjectPointCloudsResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetPropertiesRequest */ export declare class GetPropertiesRequest extends Message { /** * name of the vision service * * @generated from field: string name = 1; */ name: 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.service.vision.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.service.vision.v1.CaptureAllFromCameraRequest */ export declare class CaptureAllFromCameraRequest extends Message { /** * name of the vision service * * @generated from field: string name = 1; */ name: string; /** * name of camera source to use as input * * @generated from field: string camera_name = 2; */ cameraName: string; /** * whether or not including the image in the response * * @generated from field: bool return_image = 3; */ returnImage: boolean; /** * whether or not including classifications in the response * * @generated from field: bool return_classifications = 4; */ returnClassifications: boolean; /** * whether or not including detections in the response * * @generated from field: bool return_detections = 5; */ returnDetections: boolean; /** * whether or not including pcd in the response * * @generated from field: bool return_object_point_clouds = 6; */ returnObjectPointClouds: boolean; /** * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.CaptureAllFromCameraRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CaptureAllFromCameraRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CaptureAllFromCameraRequest; static fromJsonString(jsonString: string, options?: Partial): CaptureAllFromCameraRequest; static equals(a: CaptureAllFromCameraRequest | PlainMessage | undefined, b: CaptureAllFromCameraRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.CaptureAllFromCameraResponse */ export declare class CaptureAllFromCameraResponse extends Message { /** * @generated from field: viam.component.camera.v1.Image image = 1; */ image?: Image; /** * @generated from field: repeated viam.service.vision.v1.Detection detections = 2; */ detections: Detection[]; /** * @generated from field: repeated viam.service.vision.v1.Classification classifications = 3; */ classifications: Classification[]; /** * @generated from field: repeated viam.common.v1.PointCloudObject objects = 4; */ objects: PointCloudObject[]; /** * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.v1.CaptureAllFromCameraResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CaptureAllFromCameraResponse; static fromJson(jsonValue: JsonValue, options?: Partial): CaptureAllFromCameraResponse; static fromJsonString(jsonString: string, options?: Partial): CaptureAllFromCameraResponse; static equals(a: CaptureAllFromCameraResponse | PlainMessage | undefined, b: CaptureAllFromCameraResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.service.vision.v1.GetPropertiesResponse */ export declare class GetPropertiesResponse extends Message { /** * whether or not classifactions are supported by the vision service * * @generated from field: bool classifications_supported = 1; */ classificationsSupported: boolean; /** * whether or not detections are supported by the vision service * * @generated from field: bool detections_supported = 2; */ detectionsSupported: boolean; /** * whether or not 3d segmentation is supported by the vision service * * @generated from field: bool object_point_clouds_supported = 3; */ objectPointCloudsSupported: boolean; /** * the default camera used for *FromCamera and GetObjectPointClouds calls * * @generated from field: optional string default_camera = 4; */ defaultCamera?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.service.vision.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; }