Skip to content

alastair/fp-eval

Repository files navigation

Fingerprint evaluation

http://www.freesound.org/people/lonemonk/sounds/31487/ http://www.freesound.org/people/audible-edge/sounds/72830/ http://www.freesound.org/people/aUREa/sounds/94305/

mysql password: fsud987ydIHJf8K09fIDW2flfdJ user: fp

sudo /usr/local/sbin/rabbitmqctl add_user fingerprint fingerprint sudo /usr/local/sbin/rabbitmqctl add_vhost fp sudo /usr/local/sbin/rabbitmqctl set_permissions -p fp fingerprint ".*" ".*" ".*"

Requirements

apt-get install rabbitmq-erlang-client rabbitmq-server python-mysqldb python-sqlalchemy python-pika nfs-common python-eyed3 apt-get install sox ffmpeg ubuntu-restricted-extras libsox-fmt-mp3 python-psycopg2 apt-get install libxmu6 libxp6 mpg123 mp3info

pip install eyeD3 pika psycopg2

132.206.14.135:/mnt/store2 /mnt/datasets nfs ro 0 0

echoprint: checkout -t origin/filequote

  • SQLAlchemy
  • MySql
  • Pika
  • To perform query alterations: ** mpg123 ** ffmpeg ** sox

Optional requirements: installations of fingerprint algorithms

  • Echoprint

  • Landmark fingerprinting

  • Chromaprint

  • Ke vision FP

Echoprint notes:

To start the servers:

cd echoprint-server/solr/solr
java -jar solr.jar
ttserver -host localhost -port 1978 echoprint-tt.tch

Acoustid / Chromaprint notes

Install pymad or ffmpeg. eyeD3 for tags

Set up

To see the acoustid server: https://132.206.14.136 api base url: https://132.206.14.136/ws/v2/

Start the server with this file: https://github.com/lalinsky/acoustid-server/blob/master/acoustid/wsgi.py#L4

Get API Key, login with google @gmail

You have an API key, and an application key API: 0bB2HTpl Application: PKlUB2YR

A fingerprint ingest goes into the `submission' table

To clean out the database, you need to remove an entry from the fingerprint table. Remove all foreign key constraints and then it'll be empty

run the admin/cron/import.sh script to ingest into the main database.

Landmark notes

install mlabwrap: http://mlabwrap.sourceforge.net/ http://jamesgregson.blogspot.ca/2011/07/installing-mlabwrap-on-os-x-and-linux.html setup.py, change MATLAB_VERSION = 7.3

Install mpg123 and mp3info, symlink into src directory

To run the stuff:

Configuration:

cp fingerprint.conf{.dist,}

Edit fingerprint.conf to

Import files into the database (will keep back a percentage of files for false negative tests - default 10%):

python createdb.py

Import each file with a fingerprint engine.

python ingest.py -f echoprint -q # queue
python ingest.py -f echoprint -r # run

The import script will incrementally import all files for the engine. To delete the already imported files, use

python ingest.py -d -f <engine>

License

BSD 2-clause

About

Fingerprint evaluation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published