All Projects → khuangaf → Itri Speech Recognition Dataset Generation

khuangaf / Itri Speech Recognition Dataset Generation

Automatic Speech Recognition Dataset Generation

Projects that are alternatives of or similar to Itri Speech Recognition Dataset Generation

Silero Models
Silero Models: pre-trained STT models and benchmarks made embarrassingly simple
Stars: ✭ 522 (+1531.25%)
Mutual labels:  jupyter-notebook, speech-recognition
Dla
Deep learning for audio processing
Stars: ✭ 142 (+343.75%)
Mutual labels:  jupyter-notebook, speech-recognition
Speech Emotion Recognition
Detecting emotions using MFCC features of human speech using Deep Learning
Stars: ✭ 89 (+178.13%)
Mutual labels:  jupyter-notebook, speech-recognition
Hey Jetson
Deep Learning based Automatic Speech Recognition with attention for the Nvidia Jetson.
Stars: ✭ 161 (+403.13%)
Mutual labels:  jupyter-notebook, speech-recognition
Speech recognition with tensorflow
Implementation of a seq2seq model for Speech Recognition using the latest version of TensorFlow. Architecture similar to Listen, Attend and Spell.
Stars: ✭ 253 (+690.63%)
Mutual labels:  jupyter-notebook, speech-recognition
Nemo
NeMo: a toolkit for conversational AI
Stars: ✭ 3,685 (+11415.63%)
Mutual labels:  jupyter-notebook, speech-recognition
Interspeech2019 Tutorial
INTERSPEECH 2019 Tutorial Materials
Stars: ✭ 160 (+400%)
Mutual labels:  jupyter-notebook, speech-recognition
Nmtpytorch
Sequence-to-Sequence Framework in PyTorch
Stars: ✭ 392 (+1125%)
Mutual labels:  jupyter-notebook, speech-recognition
Speech Emotion Analyzer
The neural network model is capable of detecting five different male/female emotions from audio speeches. (Deep Learning, NLP, Python)
Stars: ✭ 633 (+1878.13%)
Mutual labels:  jupyter-notebook, speech-recognition
Asrgen
Attacking Speaker Recognition with Deep Generative Models
Stars: ✭ 31 (-3.12%)
Mutual labels:  jupyter-notebook
Medium blog
Stars: ✭ 30 (-6.25%)
Mutual labels:  jupyter-notebook
Odsc neural nets 11 04 17
Talk "Deep Learning From Scratch Using Python" delivered at ODSC West on November 4, 2017
Stars: ✭ 31 (-3.12%)
Mutual labels:  jupyter-notebook
Betalyzer
A fintech tutorial using Python
Stars: ✭ 31 (-3.12%)
Mutual labels:  jupyter-notebook
Deeplabv3 Plus
Tensorflow 2.3.0 implementation of DeepLabV3-Plus
Stars: ✭ 32 (+0%)
Mutual labels:  jupyter-notebook
Data Science Poker Projects
Stars: ✭ 31 (-3.12%)
Mutual labels:  jupyter-notebook
Pn2v
This is our implementation of Probabilistic Noise2Void
Stars: ✭ 32 (+0%)
Mutual labels:  jupyter-notebook
Testrepo
Stars: ✭ 31 (-3.12%)
Mutual labels:  jupyter-notebook
Synthetic Medical Images
Synthetic Medical Images from Dual Generative Adversarial Networks
Stars: ✭ 31 (-3.12%)
Mutual labels:  jupyter-notebook
Seismic Transfer Learning
Deep-learning seismic facies on state-of-the-art CNN architectures
Stars: ✭ 32 (+0%)
Mutual labels:  jupyter-notebook
Matchmodels
2019中国高校计算机大赛——大数据挑战赛 第15名 WriteUp
Stars: ✭ 32 (+0%)
Mutual labels:  jupyter-notebook

Automatic Speech Recognition Dataset Generation

Author: Kung-hsiang, Huang (Steeve), 2018

Although there exists an abundance of English speech recognition datasets publicly available, the opposite is true for the Mandarin ones, espically for Mandarin datasets that contain some Taiwanese or English speech. We want to leverage the copiousness of the Taiwanese dramas uploaded to Youtube to collect Speech Recognition dataset. The pipeline is shown as the following figure:

Pipeline

Requirements

First, install FFMPEG from its website

  • Python==3.6
  • joblib==0.12.0
  • numpy==1.13.3
  • pandas==0.23.3
  • tensorflow-gpu==1.4.0
  • keras==2.1.3
  • google-cloud-vision==0.32.0
  • pafy==0.5.4
  • youtube-dl==2017.12.2
  • tqdm==4.23.4
  • editdistance==0.4

To set up all the requirements, prepare a python 3.6 environment with conda and install packages with pip.

conda create -n py36 python=3.6 anaconda
source activate py36
pip install -r requirements.txt

Directories

|-- src
|-- mandarin
|   |-- audios
|   |-- bgs_results
|   |-- frames
|   |-- maskrcnn_results
|   |-- ocr_results
|   |-- processed_frames
|   |-- processed_videos
|   |-- split_audios
|   |-- srts
|   `-- videos
|-- Mask_RCNN
|   |-- assets
|   |-- images
|   |-- logs
|   |-- mrcnn
|   `-- samples
|-- docs

src/: Directory that stores all the code.

mandarin/: Directory that stores all the intermediate and final results, including the sub-directories as the follows:

          videos/: Directory that stores the downloaded videos.

          audios/: Directory that stores the extracted audio from the videos.

          frames/: Directory that stores the split frames from the videos.

          maskrcnn_result/: Directory that stores the resulted frames processed by Mask-RCNN.

          ocr_results/: Directory that stores the OCR results in CSV files for each video.

          srts/: Directory that stores the SRT files for each video.

          processed_videos/: Directory that stores the videos that have been split into frames.

          processed_frames/: Directory that stores the frames that have been processed by Mask-RCNN.

/Mask-RCNN: Directory of Mask-RCNN.

          logs/: Directory that stores the training logs (in tensorboard format) and Mask-RCNN's weights.

          samples/subtitle/: Directory that stores the training logs (in tensorboard format) and Mask-RCNN's weights.

docs/: Presentation to the General Director.

Files

mandarin_drama.txt: Input file for download_video.py. Each row contains a drama (playlist) name.

download_videos.py : Download videos with Youtube API.

split_videos.py : Split videos with FFMPEG.

run_mask_rcnn.py : Run Mask-RCNN to remove everything in the images except the subtitles.

ocr_to_csv.py : Detect text in frames with Google OCR API.

csv_to_srt.py : Aggregate OCR results to SRT files.

automatic_script.sh : Run the script to run through the whole pipeline.

Dataset Generation Mask-RCNN .ipynb : Jupyter notebook for generating Mask-RCNN training dataset.

Usage

To train Mask-RCNN,

Perpare several true-type fonts, and images split from videos downloaded. Run Dataset Generation Mask-RCNN .ipynb, then run subtitle.py under Mask_RCNN/samples/subtitle .

python subtitle.py train --dataset=/path/to/dataset --subset=train --weights=coco

To automatically run the

bash automatic_script.sh

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].