worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.44k stars 1.44k forks source link

the meaning of eroded_backgorund in the function of get_2D_peaks in fingerprint.py.? #179

Open zylove006 opened 6 years ago

zylove006 commented 6 years ago

I have a few problems in the function of get_2D_peaks in fingerprint.py. background = (arr2D == 0) eroded_background = binary_erosion(background, structure=neighborhood, border_value=1)

# Boolean mask of arr2D with True at peaks
detected_peaks = local_max - eroded_background

please tell me the meaning of eroded_background and (local_max - eroded_background)? Thank you!

yseyha commented 5 years ago

i have problem the same. now you have solution? Help

zylove006 commented 5 years ago

sorry, i have not solved this problem.if you have the answer, please tell me. thank you

At 2019-02-18 16:18:20, "yseyha" notifications@github.com wrote:

i have problem the same. now you have solution? Help

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.