Skip to content

aim-qmul/shazam-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Shazam Audio Identification on MongoDB

This is a minimal implementation of Shazam audio identification algorithm1 using MongoDB as the storage engine. The implementation is not fully optimised and is only for educational purposes.

Requirements

  • Python 3.10+
  • MongoDB 7.0+

Quick Start

  1. Clone the repository.
  2. Install the required packages.
pip install -r requirements.txt
  1. Install MongoDB and start the server at localhost.
  2. Run the following command to benchmark the implementation. --port is optional and should equal to the port number of the MongoDB server. --map specifies the way to build peak pairs in the constellation maps. wang is the default value and is based on the paper. delaunay uses Delaunay triangulation to extract the pairs.
python main.py /path/to/fingerprinted/audio/files /path/to/query/audio/files --port 28000 --map wang

Footnotes

  1. An Industrial-Strength Audio Search Algorithm

Releases

No releases published

Packages

No packages published

Languages