mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 19:19:53 +00:00
Added tuning section to README.md. Removed trailing space from fingerprint.py
This commit is contained in:
parent
efe3a33915
commit
4d2b91b052
2 changed files with 24 additions and 11 deletions
13
README.md
13
README.md
|
@ -100,6 +100,19 @@ An example configuration is as follows:
|
||||||
>>> djv = Dejavu(config)
|
>>> djv = Dejavu(config)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Tuning
|
||||||
|
|
||||||
|
Inside `fingerprint.py`, you may want to adjust following parameters (some values are given below).
|
||||||
|
|
||||||
|
FINGERPRINT_REDUCTION = 30
|
||||||
|
PEAK_SORT = False
|
||||||
|
DEFAULT_OVERLAP_RATIO = 0.4
|
||||||
|
DEFAULT_FAN_VALUE = 10
|
||||||
|
DEFAULT_AMP_MIN = 15
|
||||||
|
PEAK_NEIGHBORHOOD_SIZE = 30
|
||||||
|
|
||||||
|
These parameters are described in the `fingerprint.py` in detail. Read that in-order to understand the impact of changing these values.
|
||||||
|
|
||||||
## Recognizing
|
## Recognizing
|
||||||
|
|
||||||
There are two ways to recognize audio using Dejavu. You can recognize by reading and processing files on disk, or through your computer's microphone.
|
There are two ways to recognize audio using Dejavu. You can recognize by reading and processing files on disk, or through your computer's microphone.
|
||||||
|
|
Loading…
Reference in a new issue