-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
How we can switch mirroring option on Webcam process? Here how we init Banuba, is it possible to add some default param to include mirror camera?
const wcam = new Webcam({ width: 640, height: 480 })
const [player, modules] = await Promise.all([
Player.create({
devicePixelRatio: 1,
clientToken: TOKEN,
locateFile: {
"BanubaSDK.data": data,
"BanubaSDK.wasm": wasm,
"BanubaSDK.simd.wasm": simd,
},
}),
Module.preload(["face_tracker"].map(m => `https://cdn.jsdelivr.net/npm/@banuba/webar/dist/modules/${m}.zip`))
])
await player.addModule(new Module(FaceTracker))
player.use(wcam)
Dom.render(player, "#webar")
Metadata
Metadata
Assignees
Labels
No labels