MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / createModel

Function createModel

gpu-pipeline/ui-util.js:69–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69async function createModel() {
70 const segmenterConfig = {
71 runtime: 'tfjs',
72 modelType: 'landscape'
73 };
74 return bodySegmentation.createSegmenter(
75 bodySegmentation.SupportedModels.MediaPipeSelfieSegmentation,
76 segmenterConfig);
77}
78
79async function setupPage() {
80 await setupCamera();

Callers 1

setupPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected