Closed veetechh closed 5 years ago
Please use the updated examples I released with v0.15. All calls to faceLandmarks.getPositions
have been removed.
Then how can we get the positions?
Simply use the property instead of the old getter: faceLandmarks.positions
Added console.log("faceLandmarks positions: "+faceLandmarks.positions); in drawLandmarks function.
It is saying "faceLandmarks positions: undefined"
Then "faceLandmarks" is not an instance of faceapi.FaceLandmarks.
I called this function in webcamFaceTracking, drawing.js file.