- Clone just
build/Tagging Tool
directory from this repository to your own machine. - Look for
Tagging Tool.exe
file in the cloned folder and run it. - Now, you need to choose a video from your machine. Read the next section for more information of the media player.
- Record and tag as much words as you want. If you regret and want to delete a record you made, just delete at least one of the relevant row's cell from the table.
- Press on the finish button and let the program work.
- When it will finish, you will see an alert. Once pressing 'OK' in that alert, the program will shut down.
- Look at your cloned directory now, you should see a new folder called
tagged data
. - In
tagged data
you will see the labels you tagged. Each word you capture is now separated to two files with the same name (a random name) but with different filename extension:- A
.wav
audio file that contains the audio of the word you captured. - A
.avi
video file that contains speaker's lips extracted from the original video, saying the word you captured.
- A
- You can run this program over and over on your machine, in case of capturing a word you have captured already - the new
.wav
and.avi
files will be added to the relevant directory undertagged data
, with their own generated name. - HAVE A FUN DATA TAGGING!
- Clone this repository to your own machine.
- Open cmd or powershell, admin permissions are not necessary.
- Run
python main.py
. You may need to install some packages, usePyPI
tool for that.- You can find needed libraries and their versions in
requirements.txt
file.
- You can find needed libraries and their versions in
- Now, you need to choose a video from your machine. Read the next section for more information of the media player.
- Record and tag as much words as you want. If you regret and want to delete a record you made, just delete at least one of the relevant row's cell from the table.
- Press on the finish button and let the program work.
- When it will finish, you will see an alert. Once pressing 'OK' in that alert, the program will shut down.
- Look at your cloned directory now, you should see a new folder called
tagged data
. - In
tagged data
you will see the labels you tagged. Each word you capture is now separated to two files with the same name (a random name) but with different filename extension:- A
.wav
audio file that contains the audio of the word you captured. - A
.avi
video file that contains speaker's lips extracted from the original video, saying the word you captured.
- A
- You can run this program over and over on your machine, in case of capturing a word you have captured already - the new
.wav
and.avi
files will be added to the relevant directory undertagged data
, with their own generated name. - HAVE A FUN DATA TAGGING!
This player supports AVI
format out of the box.
In order to support other formats, please run the K-Lite_Codec_Pack_1590_Basic.exe
file from extras
directory.
This add-on will make the media player support many other formats - mp4, MPEG, M2TS, etc.
For more detalis of that add-on, please visit https://www.codecguide.com/download_kl.htm