Skip to content

Commit

Permalink
update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
张智勐 committed Jul 23, 2021
1 parent a0eda6d commit 0200180
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,15 @@ format: video name+clip index | min_width | width | min_height | height
## Processing of HDTF dataset
If you use HDTF dataset, pls

1. Download videos from **xx_video_url.txt** with <a href="https://github.com/soimort/you-get" target="_blank">you-get</a> tool or <a href="https://github.com/ytdl-org/youtube-dl" target="_blank">youtube-dl</a> tool. (pls download the highest definition version: 1080P or 720P). Transform video into **.mp4** format. You'd better transform interlaced video to porgressive video as well.
1. Download videos from **xx_video_url.txt** with <a href="https://github.com/soimort/you-get" target="_blank">you-get</a> tool or <a href="https://github.com/ytdl-org/youtube-dl" target="_blank">youtube-dl</a> tool. (pls download the highest definition version: 1080P or 720P). Transform video into **.mp4** format. You'd better transform interlaced video to progressive video as well.

2. Split original long video into appropriate talking head clips with time stamps in **xx_annotion_time.txt**. Name the splitted clip as **video name_clip index.mp4**. For example, split the video *Radio11.mp4 00:30-01:00 01:30-02:30* into *Radio11_0.mp4* and *Radio11_1.mp4* .
2. Split long original video into appropriate talking head clips with time stamps in **xx_annotion_time.txt**. Name the splitted clip as **video name_clip index.mp4**. For example, split the video *Radio11.mp4 00:30-01:00 01:30-02:30* into *Radio11_0.mp4* and *Radio11_1.mp4* .

3. crop the facial region with fixed window size in **xx_crop_wh.txt** and resize the video into **512 x 512** resolution.
3. Crop the facial region with fixed window size in **xx_crop_wh.txt** and resize the video into **512 x 512** resolution.




## Inference Code
coming soon......

## Reference
if you use HDTF, pls reference

Expand Down

0 comments on commit 0200180

Please sign in to comment.