MCPcopy Create free account

hub / github.com/SS-snap/Comfyui_SSsnap_pose-Remapping / functions

Functions133 in github.com/SS-snap/Comfyui_SSsnap_pose-Remapping

Functiondraw_handpose
Draw keypoints and connections representing hand pose on a given canvas. Args: canvas (np.ndarray): A 3D numpy array representing th
dwpose/util.py:152
FunctionfaceDetect
Detect the face in the input body pose keypoints and calculate the bounding box for the face. Args: body (BodyResult): A BodyResult
dwpose/util.py:334
Methodformat_keypoint_part
( part: np.ndarray, )
wholebody.py:140
Methodformat_keypoint_part
( part: np.ndarray, )
dwpose/wholebody.py:140
Methodformat_result
(keypoints_info: Optional[np.ndarray])
wholebody.py:139
Methodforward
(self, x)
dwpose/model.py:114
Methodforward
(self, x)
dwpose/model.py:204
Methodfrom_pretrained
(cls, pretrained_model_or_path, pretrained_det_model_or_path=None, det_filename=None, pose_filename=None, torc
dwpose/__init__.py:203
Methodfrom_pretrained
(cls, pretrained_model_or_path, pretrained_det_model_or_path=None, det_filename="yolox_l.onnx", pose_filename=
dwpose/__init__.py:267
FunctionhandDetect
Detect hands in the input body pose keypoints and calculate the bounding box for each hand. Args: body (BodyResult): A BodyResult ob
dwpose/util.py:240
Functionimg2mask
(img, H, W, low=10, high=90)
tools.py:125
Functioninference_detector
(model, oriImg, detect_classes=[0])
dwpose/dw_torchscript/jit_det.py:97
Functioninference_detector
This function is only compatible with onnx models exported from the new API with built-in NMS ```py from super_gradients.conversion.conve
dwpose/dw_onnx/cv_ox_yolo_nas.py:25
Functioninference_detector
(session, oriImg, detect_classes=[0], dtype=np.float32)
dwpose/dw_onnx/cv_ox_det.py:96
Functioninference_pose
(model, out_bbox, oriImg, model_input_size=(288, 384))
dwpose/dw_torchscript/jit_pose.py:356
Functioninference_pose
(session, out_bbox, oriImg, model_input_size=(288, 384), dtype=np.float32)
dwpose/dw_onnx/cv_ox_pose.py:358
Functionmake_noise_disk
(H, W, C, F, rng=None)
tools.py:82
Functionmin_max_norm
(x)
tools.py:113
Functionnms
(x, t, s)
tools.py:96
Functionnpmax
(array)
dwpose/util.py:416
Functionnumpy2torch
[H, W, C] => [B=1, H, W, C]
render_kps.py:10
FunctionpadImg
(img, size, blackBorder=True)
dwpose/animalpose.py:39
FunctionpadRightDownCorner
(img, stride, padValue)
dwpose/util.py:41
Methodrender
(self, kps, render_body)
render_kps.py:28
Functionsafe_step
(x, step=2)
tools.py:119
FunctionscaleImg
(img, size, poseSpanX, poseSpanY, scaleFactor)
dwpose/animalpose.py:127
FunctionsmartCrop
(img, size, center)
dwpose/animalpose.py:69
Functionsmart_resize
(x, s)
dwpose/util.py:13
Functionsmart_resize_k
(x, fx, fy)
dwpose/util.py:27
Functiontorch_gc
()
tools.py:200
Methodtotal_score
(keypoints: Optional[List[Optional[Keypoint]]])
wholebody.py:151
Methodtotal_score
(keypoints: Optional[List[Optional[Keypoint]]])
dwpose/wholebody.py:151
Functiontransfer
(model, model_weights)
dwpose/util.py:64
← previous101–133 of 133, ranked by callers