MCPcopy Create free account
hub / github.com/tensorflow/tfjs / webcam

Function webcam

tfjs-data/src/readers.ts:238–242  ·  view source on GitHub ↗
(
    webcamVideoElement?: HTMLVideoElement,
    webcamConfig?: WebcamConfig)

Source from the content-addressed store, hash-verified

236 * }
237 */
238export async function webcam(
239 webcamVideoElement?: HTMLVideoElement,
240 webcamConfig?: WebcamConfig): Promise<WebcamIterator> {
241 return WebcamIterator.create(webcamVideoElement, webcamConfig);
242}
243
244/**
245 * Create an iterator that generates frequency-domain spectrogram `Tensor`s from

Callers

nothing calls this directly

Calls 1

createMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…