Git Product home page Git Product logo

similarity-annotator's Introduction

Similarity Annotation Tool

A web based tool to annotate similarity of sounds regarding a target sound. The web application is written in django framework and the interface for annotation is based on CrowdCurio audio annotator

Installation

First of all you should clone this repository

1. Install ffmpeg

You may use libav or ffmpeg.

Mac (using homebrew):

# libav
brew install libav --with-libvorbis --with-sdl --with-theora

####    OR    #####

# ffmpeg
brew install ffmpeg --with-libvorbis --with-ffplay --with-theora

Linux (using aptitude):

# libav
apt-get install libav-tools libavcodec-extra-53

####    OR    #####

# ffmpeg
apt-get install ffmpeg libavcodec-extra-53

Windows:

  1. Download and extract libav from Windows binaries provided here.
  2. Add the libav /bin folder to your PATH envvar
  3. pip install pydub

2. Setup DB

2.1 Installation

We recommend using postgreSQL database.

On Linux:

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib

On Mac using HomeBrew follow this

2.2 Create DB

createdb _data_base_name_

3. Install requirements

We recommend using virtualenv. Once on your python virtual environment run:

pip install -r requirements.txt

4. Setup development settings

Copy the file simannotator/development_settings.py.dist to the same directory but with the file extension .py Add your data_base_name into DATABASES['NAME'] and the user of the database into DATABASES['USER']

5. Run the project

5.1 Migrate

To apply the Django migrations to the DB run:

python manage.py migrate

5.2 Run Django

python manage.py runserver

License

All the software is distributed with the Affero GPL v3 license except the CrowdCurio files that are licensed under BSD-2 clause.

similarity-annotator's People

Contributors

alastair avatar oriolromani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

similarity-annotator's Issues

Zoom on the interface

A slider to zoom into the waveform, something similar to this.
It would ideal to have both an slider and the option of doing it with mouse scroll wheel

Flag to discard sounds

The sound objects in the database should have a flag "discard". Then in the interface an option will appear to mark them as discarded

Create segments with shortcut that start at the end of previous segment

The drap-and-drop tool for creating segments is useful for isolated annotations but for the case of riyaz content we need something more similar to Praat.
We discussed on having a shortcut to create segments. This tool will work this way; when pressing the shortcut a segment will bre created having start time on the previous segment end time. The segments won't overlap. We should be able to edit those segments afterwards as we do now, but edtiting end time or start time of a segment will implie to move both the end/start of consecutive segments.

Change sound list filters for colors code

@meghanasudhi prposed to change the filters of the sound list into a color code organisation.
The proposal is the follwowing:

  • red: the sound doesn't have a single annotation (segments) or similarityannotation
  • orange: the sound has less segments than the reference sound of the exercise or, still having all of them, doesn't have similarityannotations
  • green: the sound has as many segments as the reference sound and at least one similarityannotation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.