Huskylens coordinates -
Hi,
I'm new to the Huskylens and have a question about coordinates provided for a Block when using Face Recognition mode.
Sample return: Block:xCenter=180,yCenter=73,width=31,height=42,ID=0
So - the value ‘xCenter’ - is this actually the centre of the bounding box, or is it the left hand edge of the box? If the latter, I would have to add width/2 to find the centre.
Sorry if this is a silly question - I am creating a face tracking gimbal with Arduino, and whilst the camera is now tracking a face, I would expect it to move until the face is centred ( just panning at the moment) - but it is not centering, and ends up offset.
Thanks for any info
According to the HuskyLens wiki, the “xCenter” is actually the center of the bounding box.
So you don't have to add width/2.
Yeez_B