Interface: MediaProcessorBaseConfig
MediaProcessorBaseConfig specifies the absolute URL for the path where the mediapipe assets used by the transformers from this library are stored.
Vonage hosts static assets of mediapipe that will be used in case this property is not set.
Vonage promises to take care of maintaining all versioning.
WARNING. By using this option the developer takes responsibility of the assets and their versioning.
mediapipe selfie segmintaion got those assets:
selfie_segmentation_landscape.tflite
selfie_segmentation_solution_simd_wasm_bin.js
selfie_segmentation_solution_simd_wasm_bin.wasm
selfie_segmentation_solution_wasm_bin.js
selfie_segmentation_solution_wasm_bin.wasm
selfie_segmentation.binarypb
selfie_segmentation.tflite
Please keep in mind that the assets list can change between versions.
All assets can be taken from node_modules/@mediapipe/selfie_segmentation
Hierarchy
MediaProcessorBaseConfig
Properties
transformerType
• transformerType: BackgroundTransformerType
Type of transformer
mediapipeBaseAssetsUri
• Optional
mediapipeBaseAssetsUri: string
A uri path to mediapipe assets.
wasmAssetUriPath
• Optional
wasmAssetUriPath: string
tfliteAssetUriPath
• Optional
tfliteAssetUriPath: string
renderingOptions
• Optional
renderingOptions: RenderingOptions