@viamrobotics/sdk 0.61.0 → 0.61.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +50 -12
- package/dist/gen/app/data/v1/data_pb.d.ts +10 -0
- package/dist/gen/app/v1/app_pb.d.ts +4 -4
- package/dist/gen/common/v1/common_pb.d.ts +7 -0
- package/dist/main.es.js +1183 -1116
- package/dist/main.umd.js +7 -7
- package/package.json +1 -1
- package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +0 -78
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +0 -279
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.512";
|
|
@@ -475,26 +475,30 @@ export declare class DataClient {
|
|
|
475
475
|
* 0.3,
|
|
476
476
|
* 0.3,
|
|
477
477
|
* 0.6,
|
|
478
|
-
* 0.6
|
|
478
|
+
* 0.6,
|
|
479
|
+
* 0.4
|
|
479
480
|
* );
|
|
480
481
|
* ```
|
|
481
482
|
*
|
|
482
483
|
* For more information, see [Data
|
|
483
484
|
* API](https://docs.viam.com/dev/reference/apis/data-client/#addboundingboxtoimagebyid).
|
|
484
485
|
*
|
|
485
|
-
* @param binaryId The ID of the image to add the bounding
|
|
486
|
-
*
|
|
487
|
-
* @param
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
486
|
+
* @param {string | BinaryID} binaryId The ID of the image to add the bounding
|
|
487
|
+
* box to
|
|
488
|
+
* @param {string} label A label for the bounding box
|
|
489
|
+
* @param {number} xMinNormalized The min X value of the bounding box
|
|
490
|
+
* normalized from 0 to 1
|
|
491
|
+
* @param {number} yMinNormalized The min Y value of the bounding box
|
|
492
|
+
* normalized from 0 to 1
|
|
493
|
+
* @param {number} xMaxNormalized The max X value of the bounding box
|
|
494
|
+
* normalized from 0 to 1
|
|
495
|
+
* @param {number} yMaxNormalized The max Y value of the bounding box
|
|
496
|
+
* normalized from 0 to 1
|
|
497
|
+
* @param {number} [confidence] Model's confidence in a predicted bounding box
|
|
498
|
+
* expressed as a normalized value from 0 to 1
|
|
495
499
|
* @returns The bounding box ID
|
|
496
500
|
*/
|
|
497
|
-
addBoundingBoxToImageById(binaryId: string | BinaryID, label: string, xMinNormalized: number, yMinNormalized: number, xMaxNormalized: number, yMaxNormalized: number): Promise<string>;
|
|
501
|
+
addBoundingBoxToImageById(binaryId: string | BinaryID, label: string, xMinNormalized: number, yMinNormalized: number, xMaxNormalized: number, yMaxNormalized: number, confidence?: number): Promise<string>;
|
|
498
502
|
/**
|
|
499
503
|
* Remove a bounding box from an image.
|
|
500
504
|
*
|
|
@@ -514,6 +518,40 @@ export declare class DataClient {
|
|
|
514
518
|
* @param bboxId The ID of the bounding box to remove
|
|
515
519
|
*/
|
|
516
520
|
removeBoundingBoxFromImageById(binId: string | BinaryID, bboxId: string): Promise<void>;
|
|
521
|
+
/**
|
|
522
|
+
* Update an existing bounding box
|
|
523
|
+
*
|
|
524
|
+
* @example
|
|
525
|
+
*
|
|
526
|
+
* ```ts
|
|
527
|
+
* await dataClient.updateBoundingBox(
|
|
528
|
+
* 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
|
|
529
|
+
* '691361a6f124d202010cf415'
|
|
530
|
+
* 'label1',
|
|
531
|
+
* 0.3,
|
|
532
|
+
* 0.3,
|
|
533
|
+
* 0.6,
|
|
534
|
+
* 0.6,
|
|
535
|
+
* 0.4
|
|
536
|
+
* );
|
|
537
|
+
* ```
|
|
538
|
+
*
|
|
539
|
+
* @param {string | BinaryID} binaryId The ID of the image that the target
|
|
540
|
+
* bounding box is attached to
|
|
541
|
+
* @param {string} bboxId The ID of the bounding box
|
|
542
|
+
* @param {string} [label] A label for the bounding box
|
|
543
|
+
* @param {number} [xMinNormalized] The min X value of the bounding box
|
|
544
|
+
* normalized from 0 to 1
|
|
545
|
+
* @param {number} [yMinNormalized] The min Y value of the bounding box
|
|
546
|
+
* normalized from 0 to 1
|
|
547
|
+
* @param {number} [xMaxNormalized] The max X value of the bounding box
|
|
548
|
+
* normalized from 0 to 1
|
|
549
|
+
* @param {number} [yMaxNormalized] The max Y value of the bounding box
|
|
550
|
+
* normalized from 0 to 1
|
|
551
|
+
* @param {number} [confidence] Model's confidence in a predicted bounding box
|
|
552
|
+
* expressed as a normalized value from 0 to 1
|
|
553
|
+
*/
|
|
554
|
+
updateBoundingBox(binaryId: string | BinaryID, bboxId: string, label: string, xMinNormalized: number, yMinNormalized: number, xMaxNormalized: number, yMaxNormalized: number, confidence?: number): Promise<void>;
|
|
517
555
|
/**
|
|
518
556
|
* Get a list of bounding box labels using a Filter.
|
|
519
557
|
*
|
|
@@ -1876,6 +1876,11 @@ export declare class AddBoundingBoxToImageByIDRequest extends Message<AddBoundin
|
|
|
1876
1876
|
*/
|
|
1877
1877
|
yMaxNormalized: number;
|
|
1878
1878
|
|
|
1879
|
+
/**
|
|
1880
|
+
* @generated from field: optional double confidence = 9;
|
|
1881
|
+
*/
|
|
1882
|
+
confidence?: number;
|
|
1883
|
+
|
|
1879
1884
|
constructor(data?: PartialMessage<AddBoundingBoxToImageByIDRequest>);
|
|
1880
1885
|
|
|
1881
1886
|
static readonly runtime: typeof proto3;
|
|
@@ -2020,6 +2025,11 @@ export declare class UpdateBoundingBoxRequest extends Message<UpdateBoundingBoxR
|
|
|
2020
2025
|
*/
|
|
2021
2026
|
yMaxNormalized?: number;
|
|
2022
2027
|
|
|
2028
|
+
/**
|
|
2029
|
+
* @generated from field: optional double confidence = 9;
|
|
2030
|
+
*/
|
|
2031
|
+
confidence?: number;
|
|
2032
|
+
|
|
2023
2033
|
constructor(data?: PartialMessage<UpdateBoundingBoxRequest>);
|
|
2024
2034
|
|
|
2025
2035
|
static readonly runtime: typeof proto3;
|
|
@@ -921,9 +921,9 @@ export declare class GetOrganizationNamespaceAvailabilityResponse extends Messag
|
|
|
921
921
|
*/
|
|
922
922
|
export declare class FragmentImportList extends Message<FragmentImportList> {
|
|
923
923
|
/**
|
|
924
|
-
* @generated from field: repeated viam.app.v1.FragmentImport
|
|
924
|
+
* @generated from field: repeated viam.app.v1.FragmentImport fragments = 1;
|
|
925
925
|
*/
|
|
926
|
-
|
|
926
|
+
fragments: FragmentImport[];
|
|
927
927
|
|
|
928
928
|
constructor(data?: PartialMessage<FragmentImportList>);
|
|
929
929
|
|
|
@@ -972,9 +972,9 @@ export declare class UpdateOrganizationRequest extends Message<UpdateOrganizatio
|
|
|
972
972
|
cid?: string;
|
|
973
973
|
|
|
974
974
|
/**
|
|
975
|
-
* @generated from field: optional viam.app.v1.FragmentImportList
|
|
975
|
+
* @generated from field: optional viam.app.v1.FragmentImportList default_fragments = 6;
|
|
976
976
|
*/
|
|
977
|
-
|
|
977
|
+
defaultFragments?: FragmentImportList;
|
|
978
978
|
|
|
979
979
|
constructor(data?: PartialMessage<UpdateOrganizationRequest>);
|
|
980
980
|
|
|
@@ -859,6 +859,13 @@ export declare class GetKinematicsResponse extends Message<GetKinematicsResponse
|
|
|
859
859
|
*/
|
|
860
860
|
kinematicsData: Uint8Array;
|
|
861
861
|
|
|
862
|
+
/**
|
|
863
|
+
* Map of URDF mesh file paths to mesh data
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: map<string, viam.common.v1.Mesh> meshes_by_urdf_filepath = 3;
|
|
866
|
+
*/
|
|
867
|
+
meshesByUrdfFilepath: { [key: string]: Mesh };
|
|
868
|
+
|
|
862
869
|
constructor(data?: PartialMessage<GetKinematicsResponse>);
|
|
863
870
|
|
|
864
871
|
static readonly runtime: typeof proto3;
|