(self, iouType='segm')
| 526 | self.kpt_oks_sigmas = np.array([.26, .25, .25, .35, .35, .79, .79, .72, .72, .62,.62, 1.07, 1.07, .87, .87, .89, .89])/10.0 |
| 527 | |
| 528 | def __init__(self, iouType='segm'): |
| 529 | if iouType == 'segm' or iouType == 'bbox': |
| 530 | self.setDetParams() |
| 531 | elif iouType == 'keypoints': |
| 532 | self.setKpParams() |
| 533 | else: |
| 534 | raise Exception('iouType not supported') |
| 535 | self.iouType = iouType |
| 536 | # useSegm is deprecated |
| 537 | self.useSegm = None |
nothing calls this directly
no test coverage detected