Created
December 3, 2020 12:50
-
-
Save jefBinomed/7bfd4e41efff6b7c3a0bcb144f70daf2 to your computer and use it in GitHub Desktop.
2020-fugu-face-detection-content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
boudingBox: // DOMRectReadOnly / The position and size of the face | |
{ | |
bottom: xxx.xxx // absolute bottom position in the image | |
height: xxx.xxx // absolute height in the image | |
left: xxx.xxx // absolute left position in the image | |
right: xxx.xxx // absolute right position in the image | |
top: xxx.xxx // absolute top position in the image | |
width: xxx.xxx // absolute width in the image | |
x: xxx.xxx // absolute left position in the image | |
y: xxx.xxx // absolute top position in the image | |
}, | |
landmarks: // Some points to position eyes, mouth and nose | |
[ | |
{ | |
type: 'eye', // could be also 'mouth' or 'nose' | |
locations: // Array of point that you use to draw the part of face | |
[ | |
{ | |
x: xxx.xxx // left position of element in the image | |
y: xxx.xxx // right position of element in the image | |
} | |
, ... | |
] | |
} | |
,... | |
] | |
} | |
,... | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment