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

Method process

gpu-pipeline/webgl/gl-class.js:155–160  ·  view source on GitHub ↗
(frame, mask)

Source from the content-addressed store, hash-verified

153 this.proc = new GlShaderProcessor(gl, MASK_SHADER);
154 }
155 process(frame, mask) {
156 this.proc.startProcessFrame(frame.width, frame.height);
157 this.proc.bindTextures(
158 [['frame', frame], ['mask', mask]]);
159 return this.proc.finalizeProcessFrame();
160 }
161 }

Callers 1

predictFunction · 0.80

Calls 3

startProcessFrameMethod · 0.80
bindTexturesMethod · 0.80
finalizeProcessFrameMethod · 0.80

Tested by

no test coverage detected