landmarks renamed to points
This commit is contained in:
parent
058a656d13
commit
cef703104b
1 changed files with 1 additions and 1 deletions
2
dist/static/assets/webcam.js
vendored
2
dist/static/assets/webcam.js
vendored
|
@ -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': {
|
||||||
|
|
Loading…
Reference in a new issue