Open wrussell1999 opened 3 years ago
This snippet below is currently always picking the last face
in the faces
array:
We should add a conditional here to only set the box
variable if the new face width/height is larger than the one stored in box
. or just do a sort by width/height and take the largest one.
To prevent dodgy crops, pick the largest face in the array and use that. Using the Google Cloud Vision API