Downloads · 30 days
0
qy-upup/pardon-dance
pardon-dance is a machine learning model from qy-upup. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains code and resources related to the "Pardon Dance" effect, a viral video trend popularized on social media. This project is part of the broader pardon-dance ecosystem, as described in detail at…
Downloads · 30 days
0
Access
Public
Updated Jan 22, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md4.3 KB · 99%
From the Hugging Face model README
This repository contains code and resources related to the "Pardon Dance" effect, a viral video trend popularized on social media. This project is part of the broader pardon-dance ecosystem, as described in detail at https://supermaker.ai/video/blog/unlocking-the-magic-of-pardon-dance-the-viral-video-effect-taking-over-social-media/.
This repository provides the necessary components to recreate or analyze the Pardon Dance video effect. Functionality may include:
The specific algorithms and models used may vary depending on the implementation, but common choices include OpenPose, MediaPipe, and other similar libraries. The goal is to provide a modular and extensible framework for exploring and experimenting with this video effect.
This repository is intended for:
This is a simplified example showcasing how to integrate a pose estimation library (e.g., MediaPipe) to extract pose landmarks. python import mediapipe as mp import cv2
mp_pose = mp.solutions.pose pose = mp_pose.Pose(static_image_mode=False, min_detection_confidence=0.5, min_tracking_confidence=0.5) mp_drawing = mp.solutions.drawing_utils
video_path = "your_video.mp4" cap = cv2.VideoCapture(video_path)
while cap.isOpened(): ret, frame = cap.read() if not ret: break
# Convert the BGR image to RGB.
image = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
image.flags.writeable = False
# Make detection.
results = pose.process(image)
# Draw the pose annotation on the image.
image.flags.writeable = True
image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
mp_drawing.draw_landmarks(image, results.pose_landmarks, mp_pose.POSE_CONNECTIONS)
cv2.imshow('MediaPipe Pose', image)
if cv2.waitKey(5) & 0xFF == 27:
break
cap.release() cv2.destroyAllWindows()
This example only shows the initial pose extraction. Further steps would involve analyzing the movement of the pose landmarks and applying transformations to the video frames to create the desired effect. Refer to the linked blog post for a more in-depth explanation of the effect and potential implementation strategies.