Skip to content

rateByCenter

rateByCenter(roi): number

Rate body detection by center

Method that can be used as PoseParams.rateRoI parameter. Penalizes detections that are further from the image center. Uses confidence score as the basis and lineraly downweights it according to position of RoI relative to the image center. In X direction downweight coefficient is 0.75 for detectons centered at the edge of field of view, in Y direction it is 0.75 for detections which center is at the top of image and no penalty is applied for RoIs lower than the image center.

BodyCircle

Body detection

number

Priority rate of the detection