Projects

Video Virtual Try-On

I built and trained the animation stage of a video try-on prototype. My model transfers motion from a driving video to the person in a dressed reference image.

UBC-Fashion I animated a still of the woman in the white blouse and beige trousers. The motion comes from a training clip of the woman in green.

Why I start with a still image

When I tested video try-on methods, a new color or print often came through while the cut still matched the old outfit. I designed the pipeline around a single dressed image so I could check the garment’s cut before animating the wearer.

Image try-on
Person photo + garment image dressed reference
Human animation
Dressed reference + driving video try-on video

The hem stays short

The edited frame I gave OmniTryOn had the color of the long red dress and the short hem of the original floral dress. The hem stayed above the knee when the wearer turned.

Watch clip (3.3 s)
A red V-neck dress with a long flared skirt.
Target garment
The red dress ends above the knee as the wearer turns away.
Output at 3.2 s
Source and earlier output
The wearer faces forward in a short floral dress.
Source frame
The edited starting frame already shows a short red dress.
Output at 0 s

The original collar shows through

I tried replacing a navy blazer and red turtleneck with a white lace blouse. Part of the blazer remains beside the wearer’s hand. When she turns, the red collar is visible above the lace.

Watch clip (7.7 s) Garment photo from the ViViD dataset
A white short-sleeved lace blouse with a scalloped hem.
Target garment
A bright red collar is visible above the white lace neckline.
Output at 7.6 s
Source and earlier output
The wearer holds her navy blazer open over a red turtleneck.
Source frame
A dark flap of the original blazer remains beside her hand.
Output at 3.8 s

One forearm stays bare

The reference coat has two long sleeves. In the edited frame, one reaches the wrist and the other ends above the elbow.

The selected burgundy coat has full-length sleeves on both sides.
Target coat
The wearer holds both arms across a black T-shirt.
Input frame
The burgundy coat covers one forearm and leaves the other bare.
Edited frame

The original skirt stays visible

The target is a full-length Ultraman suit. Below the silver belt, the edited frame still shows the black tulle skirt from the driving video.

The selected red and silver Ultraman suit includes matching legs.
Target suit
The dancer reaches forward in a beige crop top and black tulle skirt.
Closest driving frame (1.60 s)
The dancer reaches forward in a red and silver Ultraman top over the black skirt.
Demo screenshot

Why I switched to IM-Animation

I considered explicit controls such as a 2D skeleton or an SMPL body mesh. I chose an implicit encoder that learns motion from video so the same reach could adapt to different arm lengths.

I first trained an end-to-end model following X-UniMotion. Even after I reworked the motion retargeter, it struggled to follow the driver’s gestures with the data and compute I had. I switched to IM-Animation so I could train the retargeter before fine-tuning the video generator.

Drawing on both papers, I built separate paths for appearance and motion on the Wan2.2-TI2V-5B backbone. I gave the dressed image its own reference tokens and fed motion and facial expression into the tokens that generate the video.

How I built the training pairs

For IM-Animation I drew on 3.2 hours of real footage from four fashion datasets (UBC-Fashion, TikTokDress, Try-Any-Bench and ViViD). I kept steady shots showing one person’s face, upper body and both hands. Following X-UniMotion’s self-training approach, I took the reference frame and motion from the same shot.

I rendered about 10 hours of paired Mixamo footage in Blender. I gave two characters with different proportions the same action, taking the driving motion from one and the reference still and synchronized target video from the other.

For the final fine-tune I kept 6,782 clips, each with a usable face crop across all 81 frames. Played once at 30 fps, they run for about 5.1 hours.

Mixamo salsa dance The character in black leads the steps. The right panel shows my model’s prediction.
Source footage and training split

For my earlier experiments I curated 32.9 hours across six real-video datasets. I trained the IM-Animation retargeter on 8,792 clips, including 2,581 real clips and 6,211 Mixamo pairs. I drew the final fine-tuning set from these clips.

Hand and face supervision

In early experiments I used Sapiens joint heatmaps and hand surface normals. The dense maps were expensive to store, and the fine hand and face joints were hard to fit. For IM-Animation I built pose targets from 23 body and 42 hand keypoints detected by DWPose and fed cropped faces to a separate expression encoder. I tested heatmap resolutions and peak widths and reconstructed the training maps on the GPU from a compact cache.

Training and checking motion transfer

I tested an early model by holding the reference fixed and playing the driving clip forward, then backward. The predicted joint positions barely changed on the three frames I checked. I kept this timing check for later runs.

For the model shown here, I started with the IM-Animation authors’ released motion encoder. I trained the retargeter for 40,000 steps on two GPUs, a little over four days. I then fine-tuned Wan for 20,000 steps on one GPU over about three days.

More training examples from TikTokDress and Mixamo
TikTokDress I animated a dressed still from the training set. The dancer in green provides the motion.
Mixamo seated clap Two Mixamo characters performing a seated clap.