This is my code:
this.deepAR = await deepar.initialize({
canvas: canvas,
licenseKey,
effect: 'effects/cute-virtual-pet.deepar',
rootPath: "./deepar-resources",
additionalOptions: {
cameraConfig: {
disableDefaultCamera: true,
},
},
});
this.deepArBeauty = await Beauty.initializeBeauty(
this.deepAR,
"./deepar-beauty-resources"
);
The effect is downloaded from Cute Virtual Pet Effect | DeepAR. When I don’t add the Beauty
initialization, the effect works fine. However, if I integrate it with Beauty
, the cat in the effect disappears.