Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qqpann/lipnet-jp
JPHACKS 日本語で読唇術をやっていくよ
https://github.com/qqpann/lipnet-jp
Last synced: about 2 months ago
JSON representation
JPHACKS 日本語で読唇術をやっていくよ
- Host: GitHub
- URL: https://github.com/qqpann/lipnet-jp
- Owner: qqpann
- Created: 2019-10-25T15:01:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:30:29.000Z (about 2 years ago)
- Last Synced: 2024-05-01T17:23:29.364Z (8 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 171 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LipNet-JP
## Directory
```
src/
````.py` files here.
```
notebook/
````.ipynb` files here.
## Prepare video
```
youtube-dl -F https://www.youtube.com/watch?v={youtube_id}
youtube-dl -f 22 -o 'data/raw_input/%(id)s.%(ext)s' https://www.youtube.com/watch?v={youtube_id}
ffmpeg -i {youtube_id}.mp4 -c:v copy {youtube_id}.avi
```これでdockerを立ち上げて,中に入る.psでid確認してcpなどする.
```
docker run -it --rm algebr/openface:latest
``````
docker cp {youtube_id}.avi {docker_id}:/home/openface-build
```Docker の中
```
build/bin/FeatureExtraction -simsize 200 -f {youtube_id}.avi
build/bin/FeatureExtraction -simsize 200 -fdir processed/{youtube_id}_aligned/ -out_dir processed2
```Dockerの外
```
docker cp {docker_id}:/home/openface-build/processed data/.
docker cp {docker_id}:/home/openface-build/processed2 data/.python src/crop_lip.py {youtube_id}
```## Prepare audio
```
ffmpeg -y -i {youtube_id}.mp4 -c:a flac audio2.flac
```
sample2を適宜ファイル名に読み替える