Coder Social home page Coder Social logo

dejavu's Introduction

dejavu fork

Purpose

Installation

  1. Download Dockerfile and docker-compose.yml files into the same folder

  2. run

docker-compose up --build -d

Usage

Open http://localhost:7778 and start experimenting the library using jupyterlab

jupyter token can be seen by typing

docker logs afs

create a folder (e.g mp3) and put your training files into it

import warnings
warnings.filterwarnings(action='once')

from dejavu import Dejavu
from dejavu.recognize import FileRecognizer

djv = Dejavu(dburl='postgresql+psycopg2://ugur:123123@db/db')

djv.fingerprint_directory('/workspace/data/mp3', extensions=['mp3'], nprocesses=8)

then test it by typing

song = djv.recognize(FileRecognizer, 'test.mp3')

Extra :

how to convert any music file to mp3

from pydub import AudioSegment

audio = AudioSegment.from_file("somefile.wav", format='wav')
audio.export("result.mp3", format="mp3")

dejavu's People

Contributors

ajduberstein avatar alexrecarey avatar bcollazo avatar bevinsky avatar bhuvi8 avatar chromy avatar compwright avatar denmat avatar ezavesky avatar fbrcosta avatar pguridi avatar sg3510 avatar suxianbaozi avatar thesunlover avatar tjj5036 avatar tuxdna avatar ucekmez avatar wessie avatar worldveil 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.