Giter VIP home page Giter VIP logo

audio_search's Introduction

❗❗ This repo will no longer be maintained, please visit https://github.com/milvus-io/bootcamp ❗ ❗

Audio search system with Milvus

This project uses PANNs(Large-Scale Pretrained Audio Neural Networks) for Audio Pattern Recognition to perform audio tagging and sound event detection, finally obtaining audio embeddings. Then this project uses Milvus to search for similar audio clips.

Local Deployment

Requirements

Run Server

  1. Install python requirements

    $ cd bootcamp/solutions/audio_search/webserver/
    $ pip install -r audio_requirements.txt
  2. Modify configuration parameters

    Before running the script, please modify the parameters in webserver/audio/common/config.py:

    Parameter Description Default setting
    MILVUS_HOST milvus service ip address 127.0.0.1
    MILVUS_PORT milvus service port 19530
    MYSQL_HOST mysql service ip 127.0.0.1
    MYSQL_PORT mysql service port 3306
    MYSQL_USER mysql user name root
    MYSQL_PWD mysql password 123456
    MYSQL_DB mysql datebase name mysql
    MILVUS_TABLE default table name milvus_audio
  3. Star server

    $ cd webserver
    $ python main.py

System Usage

Type 127.0.0.1:8002/docs in your browser to see all the APIs.

  • Insert data.

    Download the sample game_sound.zip and upload it into the system.

    The sound data in the zip archive must be in wav format.

  • Search for similar audio clips.

    You can upload test.wav to search for the most similar sound clips.

Please refer to https://zilliz.com/demos/ to take a try in the front-end interface.

audio_search's People

Contributors

jingkl avatar shiyu22 avatar yiyunni avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

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.