SwatPhonLab / UltraTrace

A Free/Open-Source tool for manual annotation of Ultrasound Tongue Imaging data.
GNU General Public License v3.0
10 stars 5 forks source link

UltraTrace

This is a tool for [currently] manual annotation of 2D UTI (Ultrasound Tongue Imaging) data.

You can have a look at our UltraFest IX presentation for some details on featureset and functionality as of October, 2020.

If you use UltraTrace in your work, you may cite the UltraFest IX presentation:

Screenshot

Screenshot

Installation

Linux (apt or dnf)

  1. Download the UltraTrace source code, e.g. using git.
  2. Run setup in the UltraTrace directory:
    $ ./install.sh
    $ python3 setup.py install

macOS

  1. Install Homebrew.
  2. Download the UltraTrace source code, e.g. using git.
  3. Run setup in the UltraTrace directory:
    $ python3 setup.py install

Windows

  1. Install python3
  2. Make sure you have pip
  3. Install ffmpeg and add to PATH
  4. Run setup.py

Use

$ python3 -m ultratrace /path/to/data

Data format

The minimum data required for UltraTrace to run is at least one ultrasound file and at least one audio file (supported formats listed below). Annotation files store timing of the ultrasound frames as well as any linguistic information of use (words, segments, etc.). Corresponding ultrasound, audio, and annotation files should have the same base name (everything except the extension), and may be symlinked or stored in subdirectories. (The naming convention for AAA-exported data is a little different.)

Supported data formats

Supported data access methods:

Reading DICOM data is supported in the following ways:

Alignment of audio and ultrasound frames supports the following methods:

Themes

The theme should just look right on Mac.

Setting the theme on linux

Use pip3 to install ttkthemes.

Add the following line to your ~/.Xresources file:

*TtkTheme: arc

You may select something other than clam for your theme. Currently, the main options are something like this: arc, plastik, clearlooks, elegance, radiance, equilux, black, smog, scidblue, etc. See the ttkthemes documentation for more information.

Otherwise it'll fall back to *TtkTheme, and if that's not specified in ~/.Xresources, it'll fall back to clam.