So if my image is 512x1024 (heightxwidth), what does these numbers (coordinates?) represent?
And my target is to draw a box around that detection, say using cv2.rectangle (either need top-left and bottom-right coordinates, or top-left and height and width), how would I do so? I tried playing around with the facial area key, but couldn't get the box around the face.
Also, landmarks is [757.8388, 301.72882], if this is a coordinate, 757 is already out of my image canvas (512)?
I just need som information on what the function
RetinaFace.detect_faces
return.So if my image is 512x1024 (heightxwidth), what does these numbers (coordinates?) represent?
And my target is to draw a box around that detection, say using
cv2.rectangle
(either need top-left and bottom-right coordinates, or top-left and height and width), how would I do so? I tried playing around with thefacial area
key, but couldn't get the box around the face.Also,
landmarks
is[757.8388, 301.72882]
, if this is a coordinate, 757 is already out of my image canvas (512)?Just some basic doubts, thanks :)