Skip to content

Instantly share code, notes, and snippets.

@shaun-jacks
Created February 22, 2019 04:46
Show Gist options
  • Save shaun-jacks/25796ef78b2d135e3c2cc654acfc39c6 to your computer and use it in GitHub Desktop.
Save shaun-jacks/25796ef78b2d135e3c2cc654acfc39c6 to your computer and use it in GitHub Desktop.
Cloud Vision relevant face detection output
values$img_res
|
|____$fdBoundingPoly
|      |
|      |_____$vertices
|             |_____[[1]] # face 1
|                   |_______$x:   [[1]] [[2]] [[3]] [[4]]
|                   |       |____1285, 2322, 2322, 1285
|                   |
|                   |_______$y:  [[1]] [[2]]  [[3]] [[4]]
|                   |       |____588, 588,   1625, 1625
|                   |[[n]] # for n faces detected
|___$landmarks
     |______[[1]] # face 1
     |       |______position
     |              |_______$x: x coordinates of facial landmarks
     |              |_______$y: y coordinates of facial landmarks
     |_______[[n]] # for n faces detected   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment