(self, x0, y0)
| 224 | return draw_aapose_by_meta(img, self, threshold, stick_width_norm, draw_hand, draw_head) |
| 225 | |
| 226 | def translate(self, x0, y0): |
| 227 | all_kps = [self.kps_body, self.kps_lhand, self.kps_rhand, self.kps_face] |
| 228 | for kps in all_kps: |
| 229 | if kps is not None: |
| 230 | kps[:, 0] -= x0 |
| 231 | kps[:, 1] -= y0 |
| 232 | |
| 233 | def scale(self, sx, sy): |
| 234 | all_kps = [self.kps_body, self.kps_lhand, self.kps_rhand, self.kps_face] |
no outgoing calls
no test coverage detected