mirror of
https://github.com/hpcaitech/Open-Sora.git
synced 2026-05-21 11:59:01 +02:00
update scene detect README
This commit is contained in:
parent
a68c5e0843
commit
afc1b8ace0
|
|
@ -1,2 +1,9 @@
|
||||||
# To be added
|
# Scene Detection and Video Split
|
||||||
|
|
||||||
|
Raw videos from the Internet may be too long for training.
|
||||||
|
Thus, we detect scenes in raw videos and split them into short clips based on the scenes.
|
||||||
|
First prepare the video processing packages.
|
||||||
|
```bash
|
||||||
|
pip install scenedetect moviepy opencv-python
|
||||||
|
```
|
||||||
|
Then run `scene_detect.py`. We provide efficient processing using `multiprocessing`. Don't forget to specify your own dataset path.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue