UNPKG

face-api.js

Version:

JavaScript API for face detection and face recognition in the browser with tensorflow.js

8 lines 236 B
import { env } from '../env'; export function resolveInput(arg) { if (!env.isNodejs() && typeof arg === 'string') { return document.getElementById(arg); } return arg; } //# sourceMappingURL=resolveInput.js.map