Example: MichelleWei Side View

To follow this example you would need to install helper package spvideoutils

Steps

  1. Download the side view of the golf swing by Michelle Wei from YouTube

  2. Split the video mp4 into frames using video_split.

  3. Manually select the tracker using golfeditor.

  4. Convert tracker json to png using modelview.

  5. Create output video using video_merge.

Example Commands

Assume file downloaded is test1.mp4. Use the first frame in golfeditor to mark the static trackers.

video_split test1.mp4    // Creates ouptut dir test1 with frames
golfeditor test1         // select tracker in each frame and create json.
merge_setup test1        // Fill json files with static info.
modelview test1          // Convert json to png files.
video_merge test1        // Convert png files to mp4 file 'merge.mp4'