@mediapipe/tasks-vision 0.1.0-alpha-9 → 0.1.0-alpha-10
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Build
|
|
1
|
+
// Build 523775288
|
|
2
2
|
|
|
3
3
|
var ModuleFactory = (() => {
|
|
4
4
|
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
|
|
@@ -520,15 +520,15 @@ var tempDouble;
|
|
|
520
520
|
var tempI64;
|
|
521
521
|
|
|
522
522
|
var ASM_CONSTS = {
|
|
523
|
-
|
|
523
|
+
1180686: $0 => {
|
|
524
524
|
const canvas = Emval.toValue($0);
|
|
525
525
|
const context = canvas.getContext("webgpu");
|
|
526
526
|
return JsValStore.add(context.getCurrentTexture());
|
|
527
527
|
},
|
|
528
|
-
|
|
528
|
+
1180821: () => {
|
|
529
529
|
return typeof HTMLCanvasElement !== "undefined";
|
|
530
530
|
},
|
|
531
|
-
|
|
531
|
+
1180876: ($0, $1, $2, $3, $4) => {
|
|
532
532
|
const drawable = Emval.toValue($0);
|
|
533
533
|
const device = JsValStore.get($1);
|
|
534
534
|
const texture = JsValStore.get($2);
|
|
@@ -540,7 +540,7 @@ var ASM_CONSTS = {
|
|
|
540
540
|
texture: texture
|
|
541
541
|
}, [ width, height ]);
|
|
542
542
|
},
|
|
543
|
-
|
|
543
|
+
1181127: ($0, $1, $2, $3) => {
|
|
544
544
|
const sourceExtTex = Emval.toValue($0);
|
|
545
545
|
const device = JsValStore.get($1);
|
|
546
546
|
const sampler = JsValStore.get($2);
|
|
@@ -557,30 +557,30 @@ var ASM_CONSTS = {
|
|
|
557
557
|
});
|
|
558
558
|
return JsValStore.add(bindGroup);
|
|
559
559
|
},
|
|
560
|
-
|
|
560
|
+
1181475: ($0, $1) => {
|
|
561
561
|
const inputArray = Emval.toValue($0);
|
|
562
562
|
const output = Emval.toValue($1);
|
|
563
563
|
const ctx = output.getContext("2d");
|
|
564
564
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
565
565
|
ctx.putImageData(image_data, 0, 0);
|
|
566
566
|
},
|
|
567
|
-
|
|
567
|
+
1181699: ($0, $1) => {
|
|
568
568
|
const input = Emval.toValue($0);
|
|
569
569
|
const outputArray = Emval.toValue($1);
|
|
570
570
|
const ctx = input.getContext("2d");
|
|
571
571
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
572
572
|
outputArray.set(data.data);
|
|
573
573
|
},
|
|
574
|
-
|
|
574
|
+
1181903: ($0, $1) => {
|
|
575
575
|
const input = Emval.toValue($0);
|
|
576
576
|
const output = Emval.toValue($1);
|
|
577
577
|
const ctx = output.getContext("2d");
|
|
578
578
|
ctx.drawImage(input, 0, 0);
|
|
579
579
|
},
|
|
580
|
-
|
|
580
|
+
1182039: () => {
|
|
581
581
|
return !!Module["preinitializedWebGPUDevice"];
|
|
582
582
|
},
|
|
583
|
-
|
|
583
|
+
1182090: () => {
|
|
584
584
|
let init_once = true;
|
|
585
585
|
if (init_once) {
|
|
586
586
|
const cachedFindCanvasEventTarget = findCanvasEventTarget;
|
|
@@ -606,7 +606,7 @@ var ASM_CONSTS = {
|
|
|
606
606
|
init_once = false;
|
|
607
607
|
}
|
|
608
608
|
},
|
|
609
|
-
|
|
609
|
+
1182875: () => {
|
|
610
610
|
return typeof wasmOffsetConverter !== "undefined";
|
|
611
611
|
}
|
|
612
612
|
};
|
|
@@ -8473,9 +8473,9 @@ var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
|
|
|
8473
8473
|
return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["ne"]).apply(null, arguments);
|
|
8474
8474
|
};
|
|
8475
8475
|
|
|
8476
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
8476
|
+
var ___start_em_js = Module["___start_em_js"] = 1174124;
|
|
8477
8477
|
|
|
8478
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
8478
|
+
var ___stop_em_js = Module["___stop_em_js"] = 1180686;
|
|
8479
8479
|
|
|
8480
8480
|
Module["addRunDependency"] = addRunDependency;
|
|
8481
8481
|
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Build
|
|
1
|
+
// Build 523775288
|
|
2
2
|
|
|
3
3
|
var ModuleFactory = (() => {
|
|
4
4
|
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
|
|
@@ -520,15 +520,15 @@ var tempDouble;
|
|
|
520
520
|
var tempI64;
|
|
521
521
|
|
|
522
522
|
var ASM_CONSTS = {
|
|
523
|
-
|
|
523
|
+
1006158: $0 => {
|
|
524
524
|
const canvas = Emval.toValue($0);
|
|
525
525
|
const context = canvas.getContext("webgpu");
|
|
526
526
|
return JsValStore.add(context.getCurrentTexture());
|
|
527
527
|
},
|
|
528
|
-
|
|
528
|
+
1006293: () => {
|
|
529
529
|
return typeof HTMLCanvasElement !== "undefined";
|
|
530
530
|
},
|
|
531
|
-
|
|
531
|
+
1006348: ($0, $1, $2, $3, $4) => {
|
|
532
532
|
const drawable = Emval.toValue($0);
|
|
533
533
|
const device = JsValStore.get($1);
|
|
534
534
|
const texture = JsValStore.get($2);
|
|
@@ -540,7 +540,7 @@ var ASM_CONSTS = {
|
|
|
540
540
|
texture: texture
|
|
541
541
|
}, [ width, height ]);
|
|
542
542
|
},
|
|
543
|
-
|
|
543
|
+
1006599: ($0, $1, $2, $3) => {
|
|
544
544
|
const sourceExtTex = Emval.toValue($0);
|
|
545
545
|
const device = JsValStore.get($1);
|
|
546
546
|
const sampler = JsValStore.get($2);
|
|
@@ -557,30 +557,30 @@ var ASM_CONSTS = {
|
|
|
557
557
|
});
|
|
558
558
|
return JsValStore.add(bindGroup);
|
|
559
559
|
},
|
|
560
|
-
|
|
560
|
+
1006947: ($0, $1) => {
|
|
561
561
|
const inputArray = Emval.toValue($0);
|
|
562
562
|
const output = Emval.toValue($1);
|
|
563
563
|
const ctx = output.getContext("2d");
|
|
564
564
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
565
565
|
ctx.putImageData(image_data, 0, 0);
|
|
566
566
|
},
|
|
567
|
-
|
|
567
|
+
1007171: ($0, $1) => {
|
|
568
568
|
const input = Emval.toValue($0);
|
|
569
569
|
const outputArray = Emval.toValue($1);
|
|
570
570
|
const ctx = input.getContext("2d");
|
|
571
571
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
572
572
|
outputArray.set(data.data);
|
|
573
573
|
},
|
|
574
|
-
|
|
574
|
+
1007375: ($0, $1) => {
|
|
575
575
|
const input = Emval.toValue($0);
|
|
576
576
|
const output = Emval.toValue($1);
|
|
577
577
|
const ctx = output.getContext("2d");
|
|
578
578
|
ctx.drawImage(input, 0, 0);
|
|
579
579
|
},
|
|
580
|
-
|
|
580
|
+
1007511: () => {
|
|
581
581
|
return !!Module["preinitializedWebGPUDevice"];
|
|
582
582
|
},
|
|
583
|
-
|
|
583
|
+
1007562: () => {
|
|
584
584
|
let init_once = true;
|
|
585
585
|
if (init_once) {
|
|
586
586
|
const cachedFindCanvasEventTarget = findCanvasEventTarget;
|
|
@@ -606,7 +606,7 @@ var ASM_CONSTS = {
|
|
|
606
606
|
init_once = false;
|
|
607
607
|
}
|
|
608
608
|
},
|
|
609
|
-
|
|
609
|
+
1008347: () => {
|
|
610
610
|
return typeof wasmOffsetConverter !== "undefined";
|
|
611
611
|
}
|
|
612
612
|
};
|
|
@@ -8463,9 +8463,9 @@ var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
|
|
|
8463
8463
|
return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["le"]).apply(null, arguments);
|
|
8464
8464
|
};
|
|
8465
8465
|
|
|
8466
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
8466
|
+
var ___start_em_js = Module["___start_em_js"] = 999596;
|
|
8467
8467
|
|
|
8468
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
8468
|
+
var ___stop_em_js = Module["___stop_em_js"] = 1006158;
|
|
8469
8469
|
|
|
8470
8470
|
Module["addRunDependency"] = addRunDependency;
|
|
8471
8471
|
|
|
Binary file
|