(self, det_checkpoint_path: str, pose2d_checkpoint_path: str, device: str = "cuda")
| 161 | |
| 162 | class DWPosePipeline: |
| 163 | def __init__(self, det_checkpoint_path: str, pose2d_checkpoint_path: str, device: str = "cuda"): |
| 164 | self.detector = DWposeONNX( |
| 165 | det_onnx_path=det_checkpoint_path, |
| 166 | pose_onnx_path=pose2d_checkpoint_path, |
| 167 | device=device, |
| 168 | ) |
| 169 | self.device = device |
| 170 | logger.info(f"DWPose-ONNX initialized on {device}") |
| 171 | |
| 172 | def __call__( |
| 173 | self, |
nothing calls this directly
no test coverage detected