@mediapipe/tasks-vision 1.1.1 → 1.2.0-rc.20261017
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/LICENSE +218 -0
- package/NOTICE +32152 -0
- package/README.md +0 -0
- package/package.json +1 -1
- package/vision_bundle.cjs +1 -1
- package/vision_bundle.cjs.map +1 -1
- package/vision_bundle.js +1 -1
- package/vision_bundle.js.map +1 -0
- package/vision_bundle.mjs +1 -1
- package/vision_bundle.mjs.map +1 -1
- package/wasm/vision_wasm_internal.js +77 -77
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_module_internal.js +77 -77
- package/wasm/vision_wasm_module_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +76 -76
- package/wasm/vision_wasm_nosimd_internal.wasm +0 -0
|
@@ -8363,12 +8363,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8363
8363
|
// End JS library exports
|
|
8364
8364
|
// end include: postlibrary.js
|
|
8365
8365
|
var ASM_CONSTS = {
|
|
8366
|
-
|
|
8366
|
+
1610870: $0 => {
|
|
8367
8367
|
const canvas = Emval.toValue($0);
|
|
8368
8368
|
const context = canvas.getContext("webgpu");
|
|
8369
8369
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8370
8370
|
},
|
|
8371
|
-
|
|
8371
|
+
1611013: ($0, $1, $2, $3, $4) => {
|
|
8372
8372
|
const drawable = Emval.toValue($0);
|
|
8373
8373
|
const device = WebGPU.getJsObject($1);
|
|
8374
8374
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8380,7 +8380,7 @@ var ASM_CONSTS = {
|
|
|
8380
8380
|
texture
|
|
8381
8381
|
}, [ width, height ]);
|
|
8382
8382
|
},
|
|
8383
|
-
|
|
8383
|
+
1611272: ($0, $1, $2, $3) => {
|
|
8384
8384
|
const sourceExtTex = Emval.toValue($0);
|
|
8385
8385
|
const device = WebGPU.getJsObject($1);
|
|
8386
8386
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8397,29 +8397,29 @@ var ASM_CONSTS = {
|
|
|
8397
8397
|
});
|
|
8398
8398
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8399
8399
|
},
|
|
8400
|
-
|
|
8400
|
+
1611642: ($0, $1) => {
|
|
8401
8401
|
const input = Emval.toValue($0);
|
|
8402
8402
|
const output = Emval.toValue($1);
|
|
8403
8403
|
const ctx = output.getContext("2d");
|
|
8404
8404
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8405
8405
|
},
|
|
8406
|
-
|
|
8406
|
+
1611807: ($0, $1) => {
|
|
8407
8407
|
const inputArray = Emval.toValue($0);
|
|
8408
8408
|
const output = Emval.toValue($1);
|
|
8409
8409
|
const ctx = output.getContext("2d");
|
|
8410
8410
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8411
8411
|
ctx.putImageData(image_data, 0, 0);
|
|
8412
8412
|
},
|
|
8413
|
-
|
|
8413
|
+
1612031: ($0, $1) => {
|
|
8414
8414
|
const input = Emval.toValue($0);
|
|
8415
8415
|
const outputArray = Emval.toValue($1);
|
|
8416
8416
|
const ctx = input.getContext("2d");
|
|
8417
8417
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8418
8418
|
outputArray.set(data.data);
|
|
8419
8419
|
},
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8420
|
+
1612235: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8421
|
+
1612290: () => !!Module["preinitializedWebGPUDevice"],
|
|
8422
|
+
1612341: () => {
|
|
8423
8423
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8424
8424
|
}
|
|
8425
8425
|
};
|
|
@@ -8860,7 +8860,7 @@ var wasmImports = {
|
|
|
8860
8860
|
/** @export */ kd: JsOnEmptyPacketListener,
|
|
8861
8861
|
/** @export */ jd: JsOnFloat32ArrayImageListener,
|
|
8862
8862
|
/** @export */ id: JsOnFloat32ArrayImageVectorListener,
|
|
8863
|
-
/** @export */
|
|
8863
|
+
/** @export */ mb: JsOnSimpleListenerBinaryArray,
|
|
8864
8864
|
/** @export */ hd: JsOnSimpleListenerBool,
|
|
8865
8865
|
/** @export */ gd: JsOnSimpleListenerDouble,
|
|
8866
8866
|
/** @export */ fd: JsOnSimpleListenerFloat,
|
|
@@ -8880,11 +8880,11 @@ var wasmImports = {
|
|
|
8880
8880
|
/** @export */ Uc: JsOnWebGLTextureListener,
|
|
8881
8881
|
/** @export */ Tc: JsOnWebGLTextureVectorListener,
|
|
8882
8882
|
/** @export */ Sc: JsWrapErrorListenerInternal,
|
|
8883
|
-
/** @export */
|
|
8883
|
+
/** @export */ lb: JsWrapImageConverter,
|
|
8884
8884
|
/** @export */ Rc: JsWrapLoggingHelpers,
|
|
8885
8885
|
/** @export */ v: JsWrapSimpleListeners,
|
|
8886
|
-
/** @export */
|
|
8887
|
-
/** @export */
|
|
8886
|
+
/** @export */ kb: UseBottomLeftGpuOrigin,
|
|
8887
|
+
/** @export */ vb: __asyncjs__mediapipe_map_buffer_jspi,
|
|
8888
8888
|
/** @export */ n: ___cxa_throw,
|
|
8889
8889
|
/** @export */ Qc: ___syscall_dup,
|
|
8890
8890
|
/** @export */ Pc: ___syscall_faccessat,
|
|
@@ -8898,32 +8898,32 @@ var wasmImports = {
|
|
|
8898
8898
|
/** @export */ Jc: ___syscall_lstat64,
|
|
8899
8899
|
/** @export */ Ic: ___syscall_mkdirat,
|
|
8900
8900
|
/** @export */ Hc: ___syscall_newfstatat,
|
|
8901
|
-
/** @export */
|
|
8901
|
+
/** @export */ Qa: ___syscall_openat,
|
|
8902
8902
|
/** @export */ Gc: ___syscall_readlinkat,
|
|
8903
8903
|
/** @export */ Fc: ___syscall_rmdir,
|
|
8904
8904
|
/** @export */ Ec: ___syscall_stat64,
|
|
8905
|
-
/** @export */
|
|
8905
|
+
/** @export */ jb: ___syscall_unlinkat,
|
|
8906
8906
|
/** @export */ Dc: ___syscall_utimensat,
|
|
8907
8907
|
/** @export */ yc: __abort_js,
|
|
8908
8908
|
/** @export */ Hb: __embind_register_bigint,
|
|
8909
8909
|
/** @export */ xc: __embind_register_bool,
|
|
8910
8910
|
/** @export */ wc: __embind_register_emval,
|
|
8911
|
-
/** @export */
|
|
8911
|
+
/** @export */ hb: __embind_register_float,
|
|
8912
8912
|
/** @export */ I: __embind_register_integer,
|
|
8913
8913
|
/** @export */ r: __embind_register_memory_view,
|
|
8914
8914
|
/** @export */ vc: __embind_register_std_string,
|
|
8915
|
-
/** @export */
|
|
8915
|
+
/** @export */ Oa: __embind_register_std_wstring,
|
|
8916
8916
|
/** @export */ uc: __embind_register_void,
|
|
8917
8917
|
/** @export */ ba: __emval_create_invoker,
|
|
8918
8918
|
/** @export */ q: __emval_decref,
|
|
8919
|
-
/** @export */
|
|
8920
|
-
/** @export */
|
|
8919
|
+
/** @export */ Na: __emval_get_global,
|
|
8920
|
+
/** @export */ gb: __emval_get_property,
|
|
8921
8921
|
/** @export */ la: __emval_incref,
|
|
8922
|
-
/** @export */
|
|
8922
|
+
/** @export */ Ma: __emval_instanceof,
|
|
8923
8923
|
/** @export */ aa: __emval_invoke,
|
|
8924
|
-
/** @export */
|
|
8924
|
+
/** @export */ va: __emval_new_cstring,
|
|
8925
8925
|
/** @export */ $: __emval_run_destructors,
|
|
8926
|
-
/** @export */
|
|
8926
|
+
/** @export */ fb: __emval_set_property,
|
|
8927
8927
|
/** @export */ tc: __emval_typeof,
|
|
8928
8928
|
/** @export */ Gb: __gmtime_js,
|
|
8929
8929
|
/** @export */ Fb: __localtime_js,
|
|
@@ -8934,15 +8934,15 @@ var wasmImports = {
|
|
|
8934
8934
|
/** @export */ Kb: _clock_time_get,
|
|
8935
8935
|
/** @export */ rc: custom_emscripten_dbgn,
|
|
8936
8936
|
/** @export */ _: _emscripten_asm_const_int,
|
|
8937
|
-
/** @export */
|
|
8938
|
-
/** @export */
|
|
8937
|
+
/** @export */ eb: _emscripten_asm_const_ptr,
|
|
8938
|
+
/** @export */ La: _emscripten_errn,
|
|
8939
8939
|
/** @export */ qc: _emscripten_get_heap_max,
|
|
8940
8940
|
/** @export */ y: _emscripten_get_now,
|
|
8941
8941
|
/** @export */ T: _emscripten_has_asyncify,
|
|
8942
8942
|
/** @export */ pc: _emscripten_outn,
|
|
8943
8943
|
/** @export */ oc: _emscripten_pc_get_function,
|
|
8944
8944
|
/** @export */ nc: _emscripten_resize_heap,
|
|
8945
|
-
/** @export */
|
|
8945
|
+
/** @export */ db: _emscripten_stack_snapshot,
|
|
8946
8946
|
/** @export */ mc: _emscripten_stack_unwind_buffer,
|
|
8947
8947
|
/** @export */ lc: _emscripten_webgl_create_context,
|
|
8948
8948
|
/** @export */ kc: _emscripten_webgl_destroy_context,
|
|
@@ -8965,51 +8965,51 @@ var wasmImports = {
|
|
|
8965
8965
|
/** @export */ ac: _exit,
|
|
8966
8966
|
/** @export */ ma: _fd_close,
|
|
8967
8967
|
/** @export */ Jb: _fd_pread,
|
|
8968
|
-
/** @export */
|
|
8968
|
+
/** @export */ ib: _fd_read,
|
|
8969
8969
|
/** @export */ Ib: _fd_seek,
|
|
8970
|
-
/** @export */
|
|
8970
|
+
/** @export */ Pa: _fd_write,
|
|
8971
8971
|
/** @export */ b: _glActiveTexture,
|
|
8972
|
-
/** @export */
|
|
8972
|
+
/** @export */ ua: _glAttachShader,
|
|
8973
8973
|
/** @export */ $b: _glBindAttribLocation,
|
|
8974
8974
|
/** @export */ c: _glBindBuffer,
|
|
8975
|
-
/** @export */
|
|
8975
|
+
/** @export */ cb: _glBindBufferBase,
|
|
8976
8976
|
/** @export */ t: _glBindFramebuffer,
|
|
8977
8977
|
/** @export */ a: _glBindTexture,
|
|
8978
8978
|
/** @export */ m: _glBindVertexArray,
|
|
8979
|
-
/** @export */
|
|
8979
|
+
/** @export */ bb: _glBlendEquation,
|
|
8980
8980
|
/** @export */ _b: _glBlendFunc,
|
|
8981
8981
|
/** @export */ j: _glBufferData,
|
|
8982
8982
|
/** @export */ P: _glClear,
|
|
8983
8983
|
/** @export */ O: _glClearColor,
|
|
8984
8984
|
/** @export */ fa: _glClientWaitSync,
|
|
8985
8985
|
/** @export */ ja: _glColorMask,
|
|
8986
|
-
/** @export */
|
|
8987
|
-
/** @export */
|
|
8988
|
-
/** @export */
|
|
8986
|
+
/** @export */ ab: _glCompileShader,
|
|
8987
|
+
/** @export */ $a: _glCreateProgram,
|
|
8988
|
+
/** @export */ Ka: _glCreateShader,
|
|
8989
8989
|
/** @export */ p: _glDeleteBuffers,
|
|
8990
8990
|
/** @export */ S: _glDeleteFramebuffers,
|
|
8991
8991
|
/** @export */ h: _glDeleteProgram,
|
|
8992
8992
|
/** @export */ ia: _glDeleteShader,
|
|
8993
|
-
/** @export */
|
|
8993
|
+
/** @export */ ta: _glDeleteSync,
|
|
8994
8994
|
/** @export */ D: _glDeleteTextures,
|
|
8995
8995
|
/** @export */ A: _glDeleteVertexArrays,
|
|
8996
|
-
/** @export */
|
|
8996
|
+
/** @export */ _a: _glDetachShader,
|
|
8997
8997
|
/** @export */ H: _glDisable,
|
|
8998
8998
|
/** @export */ o: _glDisableVertexAttribArray,
|
|
8999
8999
|
/** @export */ i: _glDrawArrays,
|
|
9000
9000
|
/** @export */ ha: _glDrawBuffers,
|
|
9001
9001
|
/** @export */ Zb: _glEnable,
|
|
9002
9002
|
/** @export */ l: _glEnableVertexAttribArray,
|
|
9003
|
-
/** @export */
|
|
9004
|
-
/** @export */
|
|
9003
|
+
/** @export */ Za: _glFenceSync,
|
|
9004
|
+
/** @export */ sa: _glFinish,
|
|
9005
9005
|
/** @export */ x: _glFlush,
|
|
9006
9006
|
/** @export */ C: _glFramebufferTexture2D,
|
|
9007
|
-
/** @export */
|
|
9007
|
+
/** @export */ Ya: _glFramebufferTextureLayer,
|
|
9008
9008
|
/** @export */ s: _glGenBuffers,
|
|
9009
9009
|
/** @export */ Z: _glGenFramebuffers,
|
|
9010
9010
|
/** @export */ G: _glGenTextures,
|
|
9011
9011
|
/** @export */ B: _glGenVertexArrays,
|
|
9012
|
-
/** @export */
|
|
9012
|
+
/** @export */ Xa: _glGetAttribLocation,
|
|
9013
9013
|
/** @export */ ga: _glGetError,
|
|
9014
9014
|
/** @export */ Yb: _glGetFloatv,
|
|
9015
9015
|
/** @export */ w: _glGetIntegerv,
|
|
@@ -9020,69 +9020,69 @@ var wasmImports = {
|
|
|
9020
9020
|
/** @export */ Ub: _glGetUniformBlockIndex,
|
|
9021
9021
|
/** @export */ d: _glGetUniformLocation,
|
|
9022
9022
|
/** @export */ Tb: _glLineWidth,
|
|
9023
|
-
/** @export */
|
|
9024
|
-
/** @export */
|
|
9025
|
-
/** @export */
|
|
9026
|
-
/** @export */
|
|
9023
|
+
/** @export */ Wa: _glLinkProgram,
|
|
9024
|
+
/** @export */ ra: _glPixelStorei,
|
|
9025
|
+
/** @export */ qa: _glReadPixels,
|
|
9026
|
+
/** @export */ Ja: _glShaderSource,
|
|
9027
9027
|
/** @export */ F: _glTexImage2D,
|
|
9028
|
-
/** @export */
|
|
9029
|
-
/** @export */
|
|
9028
|
+
/** @export */ pa: _glTexParameterf,
|
|
9029
|
+
/** @export */ Va: _glTexParameterfv,
|
|
9030
9030
|
/** @export */ f: _glTexParameteri,
|
|
9031
|
-
/** @export */
|
|
9031
|
+
/** @export */ oa: _glTexStorage2D,
|
|
9032
9032
|
/** @export */ Sb: _glTexStorage3D,
|
|
9033
9033
|
/** @export */ Y: _glTexSubImage2D,
|
|
9034
9034
|
/** @export */ Rb: _glTexSubImage3D,
|
|
9035
9035
|
/** @export */ M: _glUniform1f,
|
|
9036
|
-
/** @export */
|
|
9036
|
+
/** @export */ na: _glUniform1fv,
|
|
9037
9037
|
/** @export */ e: _glUniform1i,
|
|
9038
9038
|
/** @export */ X: _glUniform2f,
|
|
9039
9039
|
/** @export */ Qb: _glUniform2fv,
|
|
9040
|
-
/** @export */
|
|
9041
|
-
/** @export */
|
|
9040
|
+
/** @export */ Ia: _glUniform3f,
|
|
9041
|
+
/** @export */ Ua: _glUniform4f,
|
|
9042
9042
|
/** @export */ W: _glUniform4fv,
|
|
9043
9043
|
/** @export */ Pb: _glUniform4iv,
|
|
9044
9044
|
/** @export */ Ob: _glUniformBlockBinding,
|
|
9045
9045
|
/** @export */ Nb: _glUniformMatrix2fv,
|
|
9046
9046
|
/** @export */ Mb: _glUniformMatrix3fv,
|
|
9047
|
-
/** @export */
|
|
9047
|
+
/** @export */ Ha: _glUniformMatrix4fv,
|
|
9048
9048
|
/** @export */ g: _glUseProgram,
|
|
9049
9049
|
/** @export */ k: _glVertexAttribPointer,
|
|
9050
9050
|
/** @export */ V: _glViewport,
|
|
9051
|
-
/** @export */
|
|
9052
|
-
/** @export */
|
|
9053
|
-
/** @export */
|
|
9054
|
-
/** @export */
|
|
9051
|
+
/** @export */ yb: mediapipe_create_utility_canvas2d,
|
|
9052
|
+
/** @export */ xb: _mediapipe_find_canvas_event_target,
|
|
9053
|
+
/** @export */ wb: mediapipe_import_external_texture,
|
|
9054
|
+
/** @export */ ub: _mediapipe_webgl_tex_image_drawable,
|
|
9055
9055
|
/** @export */ Ac: _proc_exit,
|
|
9056
9056
|
/** @export */ zc: _random_get,
|
|
9057
|
-
/** @export */
|
|
9058
|
-
/** @export */
|
|
9059
|
-
/** @export */
|
|
9060
|
-
/** @export */
|
|
9061
|
-
/** @export */
|
|
9057
|
+
/** @export */ Ga: _wgpuCommandEncoderBeginComputePass,
|
|
9058
|
+
/** @export */ Fa: _wgpuCommandEncoderBeginRenderPass,
|
|
9059
|
+
/** @export */ tb: _wgpuCommandEncoderCopyBufferToTexture,
|
|
9060
|
+
/** @export */ sb: _wgpuCommandEncoderCopyTextureToBuffer,
|
|
9061
|
+
/** @export */ rb: _wgpuCommandEncoderCopyTextureToTexture,
|
|
9062
9062
|
/** @export */ L: _wgpuCommandEncoderFinish,
|
|
9063
|
-
/** @export */
|
|
9064
|
-
/** @export */
|
|
9065
|
-
/** @export */
|
|
9066
|
-
/** @export */
|
|
9067
|
-
/** @export */
|
|
9063
|
+
/** @export */ Ea: _wgpuComputePassEncoderDispatchWorkgroups,
|
|
9064
|
+
/** @export */ Da: _wgpuComputePassEncoderEnd,
|
|
9065
|
+
/** @export */ Ca: _wgpuComputePassEncoderSetBindGroup,
|
|
9066
|
+
/** @export */ Ba: _wgpuComputePassEncoderSetPipeline,
|
|
9067
|
+
/** @export */ Aa: _wgpuComputePipelineGetBindGroupLayout,
|
|
9068
9068
|
/** @export */ ea: _wgpuDeviceCreateBindGroup,
|
|
9069
|
-
/** @export */
|
|
9069
|
+
/** @export */ qb: _wgpuDeviceCreateBindGroupLayout,
|
|
9070
9070
|
/** @export */ K: _wgpuDeviceCreateCommandEncoder,
|
|
9071
|
-
/** @export */
|
|
9072
|
-
/** @export */
|
|
9073
|
-
/** @export */
|
|
9071
|
+
/** @export */ pb: _wgpuDeviceCreateComputePipeline,
|
|
9072
|
+
/** @export */ ob: _wgpuDeviceCreatePipelineLayout,
|
|
9073
|
+
/** @export */ Ta: _wgpuDeviceCreateRenderPipeline,
|
|
9074
9074
|
/** @export */ U: _wgpuDeviceCreateSampler,
|
|
9075
9075
|
/** @export */ da: _wgpuDeviceCreateTexture,
|
|
9076
9076
|
/** @export */ J: _wgpuQueueSubmit,
|
|
9077
|
-
/** @export */
|
|
9078
|
-
/** @export */
|
|
9079
|
-
/** @export */
|
|
9080
|
-
/** @export */
|
|
9081
|
-
/** @export */
|
|
9082
|
-
/** @export */
|
|
9083
|
-
/** @export */
|
|
9077
|
+
/** @export */ zb: _wgpuQueueWriteBuffer,
|
|
9078
|
+
/** @export */ nb: _wgpuQueueWriteTexture,
|
|
9079
|
+
/** @export */ za: _wgpuRenderPassEncoderDraw,
|
|
9080
|
+
/** @export */ ya: _wgpuRenderPassEncoderEnd,
|
|
9081
|
+
/** @export */ xa: _wgpuRenderPassEncoderSetBindGroup,
|
|
9082
|
+
/** @export */ wa: _wgpuRenderPassEncoderSetPipeline,
|
|
9083
|
+
/** @export */ Sa: _wgpuRenderPipelineGetBindGroupLayout,
|
|
9084
9084
|
/** @export */ z: _wgpuTextureCreateView,
|
|
9085
|
-
/** @export */
|
|
9085
|
+
/** @export */ Ra: _wgpuTextureDestroy,
|
|
9086
9086
|
/** @export */ ca: _wgpuTextureGetFormat
|
|
9087
9087
|
};
|
|
9088
9088
|
|
|
Binary file
|