pollen-robotics / dtw

DTW (Dynamic Time Warping) python module
GNU General Public License v3.0
1.16k stars 233 forks source link

How to covert distance to 0-1? #61

Open V972 opened 5 months ago

V972 commented 5 months ago

This may be something obvious/trivial, but I'm new to the topic and not much of a mathmatician.
In your MFCC + DTW.ipynb exaple the output is 192.489808008.

How can I convert it to 0-1 range to judge it against a similarity threshold?
I will use this to determine if the recording is authentic vs deepfaked voice.