@camstack/addon-export-google 0.1.84 → 0.1.85
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/export-google.addon.js +69 -46
- package/dist/export-google.addon.mjs +69 -46
- package/package.json +1 -1
|
@@ -10678,6 +10678,57 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10678
10678
|
"balanced",
|
|
10679
10679
|
"strict"
|
|
10680
10680
|
]);
|
|
10681
|
+
new Set([
|
|
10682
|
+
{
|
|
10683
|
+
id: "person",
|
|
10684
|
+
name: "Person"
|
|
10685
|
+
},
|
|
10686
|
+
{
|
|
10687
|
+
id: "vehicle",
|
|
10688
|
+
name: "Vehicle"
|
|
10689
|
+
},
|
|
10690
|
+
{
|
|
10691
|
+
id: "animal",
|
|
10692
|
+
name: "Animal"
|
|
10693
|
+
},
|
|
10694
|
+
{
|
|
10695
|
+
id: "package",
|
|
10696
|
+
name: "Package"
|
|
10697
|
+
}
|
|
10698
|
+
].map((l) => l.id));
|
|
10699
|
+
var COCO_TO_MACRO = {
|
|
10700
|
+
mapping: {
|
|
10701
|
+
person: "person",
|
|
10702
|
+
bicycle: "vehicle",
|
|
10703
|
+
car: "vehicle",
|
|
10704
|
+
motorcycle: "vehicle",
|
|
10705
|
+
airplane: "vehicle",
|
|
10706
|
+
bus: "vehicle",
|
|
10707
|
+
train: "vehicle",
|
|
10708
|
+
truck: "vehicle",
|
|
10709
|
+
boat: "vehicle",
|
|
10710
|
+
bird: "animal",
|
|
10711
|
+
cat: "animal",
|
|
10712
|
+
dog: "animal",
|
|
10713
|
+
horse: "animal",
|
|
10714
|
+
sheep: "animal",
|
|
10715
|
+
cow: "animal",
|
|
10716
|
+
elephant: "animal",
|
|
10717
|
+
bear: "animal",
|
|
10718
|
+
zebra: "animal",
|
|
10719
|
+
giraffe: "animal",
|
|
10720
|
+
suitcase: "package",
|
|
10721
|
+
backpack: "package",
|
|
10722
|
+
handbag: "package"
|
|
10723
|
+
},
|
|
10724
|
+
preserveOriginal: false
|
|
10725
|
+
};
|
|
10726
|
+
/** Steps a root detector may declare it fills. */
|
|
10727
|
+
var FILLABLE_STEP_IDS = [
|
|
10728
|
+
"animal-classifier",
|
|
10729
|
+
"vehicle-classifier",
|
|
10730
|
+
"package-detection"
|
|
10731
|
+
];
|
|
10681
10732
|
var MODEL_FORMATS = [
|
|
10682
10733
|
"onnx",
|
|
10683
10734
|
"coreml",
|
|
@@ -10810,6 +10861,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10810
10861
|
/** True when the weights or their data forbid commercial use. */
|
|
10811
10862
|
nonCommercial: boolean().optional()
|
|
10812
10863
|
}));
|
|
10864
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
10865
|
+
var FillsClassifierEffectSchema = object({
|
|
10866
|
+
stepId: _enum(FILLABLE_STEP_IDS),
|
|
10867
|
+
labelToEffect: record(string(), string()),
|
|
10868
|
+
uncovered: array(string()).readonly()
|
|
10869
|
+
});
|
|
10813
10870
|
var ModelCatalogEntrySchema = object({
|
|
10814
10871
|
id: string(),
|
|
10815
10872
|
name: string(),
|
|
@@ -10936,6 +10993,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10936
10993
|
*/
|
|
10937
10994
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10938
10995
|
/**
|
|
10996
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
10997
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
10998
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
10999
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
11000
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
11001
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
11002
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
11003
|
+
*/
|
|
11004
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
|
|
11005
|
+
/**
|
|
10939
11006
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10940
11007
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10941
11008
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -17907,51 +17974,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
17907
17974
|
kind: "mutation",
|
|
17908
17975
|
auth: "admin"
|
|
17909
17976
|
});
|
|
17910
|
-
new Set([
|
|
17911
|
-
{
|
|
17912
|
-
id: "person",
|
|
17913
|
-
name: "Person"
|
|
17914
|
-
},
|
|
17915
|
-
{
|
|
17916
|
-
id: "vehicle",
|
|
17917
|
-
name: "Vehicle"
|
|
17918
|
-
},
|
|
17919
|
-
{
|
|
17920
|
-
id: "animal",
|
|
17921
|
-
name: "Animal"
|
|
17922
|
-
},
|
|
17923
|
-
{
|
|
17924
|
-
id: "package",
|
|
17925
|
-
name: "Package"
|
|
17926
|
-
}
|
|
17927
|
-
].map((l) => l.id));
|
|
17928
|
-
var COCO_TO_MACRO = {
|
|
17929
|
-
mapping: {
|
|
17930
|
-
person: "person",
|
|
17931
|
-
bicycle: "vehicle",
|
|
17932
|
-
car: "vehicle",
|
|
17933
|
-
motorcycle: "vehicle",
|
|
17934
|
-
airplane: "vehicle",
|
|
17935
|
-
bus: "vehicle",
|
|
17936
|
-
train: "vehicle",
|
|
17937
|
-
truck: "vehicle",
|
|
17938
|
-
boat: "vehicle",
|
|
17939
|
-
bird: "animal",
|
|
17940
|
-
cat: "animal",
|
|
17941
|
-
dog: "animal",
|
|
17942
|
-
horse: "animal",
|
|
17943
|
-
sheep: "animal",
|
|
17944
|
-
cow: "animal",
|
|
17945
|
-
elephant: "animal",
|
|
17946
|
-
bear: "animal",
|
|
17947
|
-
zebra: "animal",
|
|
17948
|
-
giraffe: "animal",
|
|
17949
|
-
suitcase: "package",
|
|
17950
|
-
backpack: "package",
|
|
17951
|
-
handbag: "package"
|
|
17952
|
-
},
|
|
17953
|
-
preserveOriginal: false
|
|
17954
|
-
};
|
|
17955
17977
|
var AUDIO_MACRO_LABELS = [
|
|
17956
17978
|
{
|
|
17957
17979
|
id: "speech",
|
|
@@ -23371,7 +23393,8 @@ var PipelineModelOptionSchema = object({
|
|
|
23371
23393
|
group: ModelVariantGroupSchema.optional(),
|
|
23372
23394
|
legacy: boolean().optional(),
|
|
23373
23395
|
provider: ModelProviderIdSchema.optional(),
|
|
23374
|
-
defaultConfidence: number().optional()
|
|
23396
|
+
defaultConfidence: number().optional(),
|
|
23397
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
|
|
23375
23398
|
});
|
|
23376
23399
|
var ConfigFieldBridge = custom();
|
|
23377
23400
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10674,6 +10674,57 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10674
10674
|
"balanced",
|
|
10675
10675
|
"strict"
|
|
10676
10676
|
]);
|
|
10677
|
+
new Set([
|
|
10678
|
+
{
|
|
10679
|
+
id: "person",
|
|
10680
|
+
name: "Person"
|
|
10681
|
+
},
|
|
10682
|
+
{
|
|
10683
|
+
id: "vehicle",
|
|
10684
|
+
name: "Vehicle"
|
|
10685
|
+
},
|
|
10686
|
+
{
|
|
10687
|
+
id: "animal",
|
|
10688
|
+
name: "Animal"
|
|
10689
|
+
},
|
|
10690
|
+
{
|
|
10691
|
+
id: "package",
|
|
10692
|
+
name: "Package"
|
|
10693
|
+
}
|
|
10694
|
+
].map((l) => l.id));
|
|
10695
|
+
var COCO_TO_MACRO = {
|
|
10696
|
+
mapping: {
|
|
10697
|
+
person: "person",
|
|
10698
|
+
bicycle: "vehicle",
|
|
10699
|
+
car: "vehicle",
|
|
10700
|
+
motorcycle: "vehicle",
|
|
10701
|
+
airplane: "vehicle",
|
|
10702
|
+
bus: "vehicle",
|
|
10703
|
+
train: "vehicle",
|
|
10704
|
+
truck: "vehicle",
|
|
10705
|
+
boat: "vehicle",
|
|
10706
|
+
bird: "animal",
|
|
10707
|
+
cat: "animal",
|
|
10708
|
+
dog: "animal",
|
|
10709
|
+
horse: "animal",
|
|
10710
|
+
sheep: "animal",
|
|
10711
|
+
cow: "animal",
|
|
10712
|
+
elephant: "animal",
|
|
10713
|
+
bear: "animal",
|
|
10714
|
+
zebra: "animal",
|
|
10715
|
+
giraffe: "animal",
|
|
10716
|
+
suitcase: "package",
|
|
10717
|
+
backpack: "package",
|
|
10718
|
+
handbag: "package"
|
|
10719
|
+
},
|
|
10720
|
+
preserveOriginal: false
|
|
10721
|
+
};
|
|
10722
|
+
/** Steps a root detector may declare it fills. */
|
|
10723
|
+
var FILLABLE_STEP_IDS = [
|
|
10724
|
+
"animal-classifier",
|
|
10725
|
+
"vehicle-classifier",
|
|
10726
|
+
"package-detection"
|
|
10727
|
+
];
|
|
10677
10728
|
var MODEL_FORMATS = [
|
|
10678
10729
|
"onnx",
|
|
10679
10730
|
"coreml",
|
|
@@ -10806,6 +10857,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10806
10857
|
/** True when the weights or their data forbid commercial use. */
|
|
10807
10858
|
nonCommercial: boolean().optional()
|
|
10808
10859
|
}));
|
|
10860
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
10861
|
+
var FillsClassifierEffectSchema = object({
|
|
10862
|
+
stepId: _enum(FILLABLE_STEP_IDS),
|
|
10863
|
+
labelToEffect: record(string(), string()),
|
|
10864
|
+
uncovered: array(string()).readonly()
|
|
10865
|
+
});
|
|
10809
10866
|
var ModelCatalogEntrySchema = object({
|
|
10810
10867
|
id: string(),
|
|
10811
10868
|
name: string(),
|
|
@@ -10932,6 +10989,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10932
10989
|
*/
|
|
10933
10990
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10934
10991
|
/**
|
|
10992
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
10993
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
10994
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
10995
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
10996
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
10997
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
10998
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
10999
|
+
*/
|
|
11000
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
|
|
11001
|
+
/**
|
|
10935
11002
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10936
11003
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10937
11004
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -17903,51 +17970,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
17903
17970
|
kind: "mutation",
|
|
17904
17971
|
auth: "admin"
|
|
17905
17972
|
});
|
|
17906
|
-
new Set([
|
|
17907
|
-
{
|
|
17908
|
-
id: "person",
|
|
17909
|
-
name: "Person"
|
|
17910
|
-
},
|
|
17911
|
-
{
|
|
17912
|
-
id: "vehicle",
|
|
17913
|
-
name: "Vehicle"
|
|
17914
|
-
},
|
|
17915
|
-
{
|
|
17916
|
-
id: "animal",
|
|
17917
|
-
name: "Animal"
|
|
17918
|
-
},
|
|
17919
|
-
{
|
|
17920
|
-
id: "package",
|
|
17921
|
-
name: "Package"
|
|
17922
|
-
}
|
|
17923
|
-
].map((l) => l.id));
|
|
17924
|
-
var COCO_TO_MACRO = {
|
|
17925
|
-
mapping: {
|
|
17926
|
-
person: "person",
|
|
17927
|
-
bicycle: "vehicle",
|
|
17928
|
-
car: "vehicle",
|
|
17929
|
-
motorcycle: "vehicle",
|
|
17930
|
-
airplane: "vehicle",
|
|
17931
|
-
bus: "vehicle",
|
|
17932
|
-
train: "vehicle",
|
|
17933
|
-
truck: "vehicle",
|
|
17934
|
-
boat: "vehicle",
|
|
17935
|
-
bird: "animal",
|
|
17936
|
-
cat: "animal",
|
|
17937
|
-
dog: "animal",
|
|
17938
|
-
horse: "animal",
|
|
17939
|
-
sheep: "animal",
|
|
17940
|
-
cow: "animal",
|
|
17941
|
-
elephant: "animal",
|
|
17942
|
-
bear: "animal",
|
|
17943
|
-
zebra: "animal",
|
|
17944
|
-
giraffe: "animal",
|
|
17945
|
-
suitcase: "package",
|
|
17946
|
-
backpack: "package",
|
|
17947
|
-
handbag: "package"
|
|
17948
|
-
},
|
|
17949
|
-
preserveOriginal: false
|
|
17950
|
-
};
|
|
17951
17973
|
var AUDIO_MACRO_LABELS = [
|
|
17952
17974
|
{
|
|
17953
17975
|
id: "speech",
|
|
@@ -23367,7 +23389,8 @@ var PipelineModelOptionSchema = object({
|
|
|
23367
23389
|
group: ModelVariantGroupSchema.optional(),
|
|
23368
23390
|
legacy: boolean().optional(),
|
|
23369
23391
|
provider: ModelProviderIdSchema.optional(),
|
|
23370
|
-
defaultConfidence: number().optional()
|
|
23392
|
+
defaultConfidence: number().optional(),
|
|
23393
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
|
|
23371
23394
|
});
|
|
23372
23395
|
var ConfigFieldBridge = custom();
|
|
23373
23396
|
var PipelineAddonSchemaSchema = object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|