landmarks renamed to points

This commit is contained in:
Ruben van de Ven 2020-09-22 09:20:45 +02:00
parent 058a656d13
commit cef703104b

View file

@ -299,7 +299,7 @@ function parseDetectionResults(results) {
for(let result of results) { for(let result of results) {
const landmarks = result.landmarks._positions.map((pos) => parseCoordinate(pos)); const landmarks = result.landmarks._positions.map((pos) => parseCoordinate(pos));
let detection = { let detection = {
'landmarks': landmarks, 'points': landmarks,
// TODO: rotation // TODO: rotation
'parts': {}, 'parts': {},
'box': { 'box': {