Skip to content

rateByRoI

rateByRoI(roi, ratio): number

Rate body detection by region of interest

Method that can be used as PoseParams.rateRoI parameter. Penalizes detections that are further from image center and by size following rateByCenter and rateBySize strategies. Additionally discards detections by incline, RoIs which axis angle is more than 45 degress from upright position are assigned negative priority measure and won’t be tracked.

BodyCircle

Body detection

number

Image aspect ratio

number

Priority rate of the detection