(self, joint)
| 185 | return min(in1 / len(self), in2 / len(other)) |
| 186 | |
| 187 | def add_joint(self, joint): |
| 188 | if joint.label in self._visible or joint.label is None: |
| 189 | return False |
| 190 | self.data[joint.label] = *joint.pos, joint.confidence, joint.group |
| 191 | self._visible.add(joint.label) |
| 192 | self._idx.add(joint.idx) |
| 193 | return True |
| 194 | |
| 195 | def remove_joint(self, joint): |
| 196 | if joint.label not in self._visible: |
no test coverage detected