我想获得嘴巴的确切位置,但我不断获得0
每个坐标 x、y 和 z。
我的代码:
const face = FaceTracking.face(0);
var tracker = Scene.root.child('Device').child('Camera').child('faceTracker0');
Patches.getPulseValue('pulseMouthOpen').subscribe(function (e) {
var loc = face.mouth.center;
Diagnostics.log(loc.x.pinLastValue());
});
代码在 AR Studio 中运行。
我想得到脸上的确切位置。我究竟做错了什么?