Skip to content

Commit

Permalink
[DATA-3338] add-to-sensor-metadata (viamrobotics#571)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
nicksanford and github-actions[bot] authored Nov 8, 2024
1 parent 9586bfc commit 9b9576c
Show file tree
Hide file tree
Showing 9 changed files with 1,525 additions and 868 deletions.
1,320 changes: 705 additions & 615 deletions app/data/v1/data.pb.go

Large diffs are not rendered by default.

587 changes: 339 additions & 248 deletions app/datasync/v1/data_sync.pb.go

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions gen/js/app/data/v1/data_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,11 @@ export class BoundingBox extends jspb.Message {
getYMaxNormalized(): number;
setYMaxNormalized(value: number): void;

hasConfidence(): boolean;
clearConfidence(): void;
getConfidence(): number;
setConfidence(value: number): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BoundingBox.AsObject;
static toObject(includeInstance: boolean, msg: BoundingBox): BoundingBox.AsObject;
Expand All @@ -676,6 +681,33 @@ export namespace BoundingBox {
yMinNormalized: number,
xMaxNormalized: number,
yMaxNormalized: number,
confidence: number,
}
}

export class Classification extends jspb.Message {
getLabel(): string;
setLabel(value: string): void;

hasConfidence(): boolean;
clearConfidence(): void;
getConfidence(): number;
setConfidence(value: number): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Classification.AsObject;
static toObject(includeInstance: boolean, msg: Classification): Classification.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Classification, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Classification;
static deserializeBinaryFromReader(message: Classification, reader: jspb.BinaryReader): Classification;
}

export namespace Classification {
export type AsObject = {
label: string,
confidence: number,
}
}

Expand All @@ -685,6 +717,11 @@ export class Annotations extends jspb.Message {
setBboxesList(value: Array<BoundingBox>): void;
addBboxes(value?: BoundingBox, index?: number): BoundingBox;

clearClassificationsList(): void;
getClassificationsList(): Array<Classification>;
setClassificationsList(value: Array<Classification>): void;
addClassifications(value?: Classification, index?: number): Classification;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Annotations.AsObject;
static toObject(includeInstance: boolean, msg: Annotations): Annotations.AsObject;
Expand All @@ -698,6 +735,7 @@ export class Annotations extends jspb.Message {
export namespace Annotations {
export type AsObject = {
bboxesList: Array<BoundingBox.AsObject>,
classificationsList: Array<Classification.AsObject>,
}
}

Expand Down
Loading

0 comments on commit 9b9576c

Please sign in to comment.