Commit graph

141 commits

Author SHA1 Message Date
mrepetto
8147647f74 Merge branch 'dejavu_python_3.6.6' of github.com:mauriciorepetto/dejavu into dejavu_python_3.6.6 2020-01-08 15:27:56 -03:00
mrepetto
b88f6b6ac4 fixed issue with rowcount = 0 when using count queries 2020-01-08 15:27:33 -03:00
tbeu
8d6ca80798 Fix import errors in documentation (#1)
After restructuring the modules, also the documentation needs to be updated.
2019-11-09 13:56:54 -03:00
mrepetto
acca344f23 Updated readme and fixed a gramma error 2019-10-13 18:01:34 -03:00
mrepetto
27bf6b380b More changes:
- added even more docstring to the solution.
 - changed maximum filter mask on fingerprints (now configurable)
2019-10-11 19:49:38 -03:00
mrepetto
9a1c71b349 small name change in method to delete songs 2019-10-09 19:39:11 -03:00
mrepetto
e6b5976e40 Several fixes and changes:
- isort fixes
- flake8 fixes
- fixed bug of getting duplicated hashes because of sending channels in parallel.
- fixed bug of assigning matches to one offset when the same hash is present in several offsets of a song.
- added type hints and docstring for almost everything.
- added code to list fingerprinted songs in the database.
- added code to delete songs from the database.
- split time in several times: fingerprint time, query time and align time.
- turned the list generator into lists (necessary for split times)
- changed dejavu response.
- added two types of confidences, one that is based on the hashes matched vs the hashes in the db, and another one that is hashes matched vs the hashes from the input song.
- refactored the logic to return more than one result.
2019-10-09 19:22:25 -03:00
mrepetto
78b64c8c03 Added init on config folder that was missing. 2019-09-27 11:06:35 -03:00
mrepetto
59428922e5 updated docstring 2019-09-26 11:04:24 -03:00
mrepetto
b96f7e6970 reverting changes on git ignore file. 2019-09-25 17:41:22 -03:00
mrepetto
e046eeee93 - Extracted common logic from database handlers.
- Fixed tests.
- Refactored solution architecture once more.
- Refactored solution hierarchy.
- Adding audios for testing.
- Solved flake8 issues and reorganized several imports in the process.
2019-09-25 17:38:25 -03:00
mrepetto
6bc15ab8d4 forgot to add the postgresql connector to requirements.txt 2019-09-20 17:45:05 -03:00
mrepetto
ad73b09881 - Added support for Postgresql 2019-09-20 16:04:57 -03:00
mrepetto
22a1a46259 named more indexes 2019-09-19 19:48:23 -03:00
mrepetto
728f85f4db fixed identation 2019-09-19 17:49:28 -03:00
mrepetto
213069a05d added missing quotation marks 2019-09-19 17:39:33 -03:00
mrepetto
ade00317f9 Added date track columns for songs and fingerprints and set named constraint for those tables. 2019-09-19 13:12:07 -03:00
mrepetto
f5ad848974 small fix to use f strings instead of '%' 2019-09-18 13:58:36 -03:00
mrepetto
78dfef04d3 migrated code to python 3.6.6 and refactored some code to improve it. 2019-09-18 12:39:59 -03:00
Will Drevo
d2b8761eb3
Merge pull request #185 from JPery/MultipleInstancesFix
Fixed bug where multiple instances of dejavu where not working
2019-05-27 00:22:24 -07:00
Will Drevo
999c66a24e
Merge pull request #135 from anuragkumarak95/master
Update fingerprint.py
2019-05-27 00:21:16 -07:00
Will Drevo
e0f2577718
Merge pull request #97 from markstrefford/master
Updated link to Scipy ndimage iterate_structure page
2019-05-27 00:17:18 -07:00
Will Drevo
6fe89c577e
Merge pull request #193 from WillPastor/bitwise-fix
Replace deprecated boolean subtraction operator
2019-05-27 00:13:33 -07:00
Will Drevo
4d9b784c7c
Merge pull request #172 from Tyrone-Zhao/dev
Dev
2019-05-27 00:13:05 -07:00
Will Drevo
7f2f20452e
Merge pull request #188 from anandmishra01/patch-1
[Change in README.md] Fixing broken link to blog
2019-05-27 00:11:27 -07:00
William P
02345911ca Replace deprecated boolean subtraction operator
Fixes #109 by changing deprecated boolean subtraction operator ( minus sign, '-' ) to '^'.
2019-04-23 11:52:00 -04:00
Anand Kumar Mishra
7325f77edc
Fixing broken link to blog 2019-03-16 11:14:37 +08:00
J. Pery
b72921e2f7 Fixed bug where multiple instances of dejavu where not working 2019-02-06 10:53:07 +01:00
Tyrone-Zhao
df14366a94 make the '--recognize mic 10' function avalible 2018-09-22 19:41:01 +08:00
Tyrone-Zhao
bfe0003551 change to print song_name and file_sha1 with 'utf8' encoding correctly 2018-09-22 15:32:11 +08:00
Tyrone-Zhao
b52b8ef7bd change all cursor's encoding to 'utf8' 2018-09-22 14:24:32 +08:00
Tyrone-Zhao
c124d53aff change cursor's encoding to 'utf8' 2018-09-22 14:12:11 +08:00
Anurag Kumar
1204f77bd1
Updated fingerprint.py
Reduced the amount of iterations that will execute in the edited lines, using filter with python3 will reduce iteration a lot as it defines  a generator rather than a list.
2017-12-06 10:02:33 +05:30
Anurag Kumar
7268ce0a78
[comments-only] Update fingerprint.py
type at line #97.
FINGERPRINT_REDUCTION is actually being used to slice generated hash from 0th to FINGERPRINT_REDUCTION(th) position, updated the comment accordingly
2017-12-05 10:08:23 +05:30
Will Drevo
7f53f2ab68 Update README.md 2017-01-10 15:27:16 -08:00
Mark Strefford
541b3b4e5d Updated link to Scipy ndimage iterate_structure page 2016-04-18 05:57:34 +01:00
Will Drevo
4ab26bd0db Bumped version to 0.1.3 2015-04-19 17:20:51 -04:00
Will Drevo
8efd97564a Merge branch 'thomascirca-use_sha1' 2015-04-19 15:12:37 -04:00
Will Drevo
254a79cdf5 Completed integration for SHA1 file hashing to avoid duplicates 2015-04-19 15:12:16 -04:00
Tyler Jones
27ed19b0f0 Files are now uniquely identified through a SHA1 hash, as opposed to
using the song name.
2015-03-28 18:36:51 -07:00
Will Drevo
0b540343c1 Cleaned up example.py 2015-03-28 19:23:18 -04:00
Isko
c186602c63 windows compatible 2015-03-23 00:50:42 +02:00
Will Drevo
1fe7d4fd45 Merge pull request #71 from sg3510/wav-24-bit
24-bit wav file support
2015-03-21 18:35:14 -04:00
sg3510
2feecce34b updated docstring 2015-02-26 16:10:09 +00:00
sg3510
3a9e3a4da7 adding limit support 2015-02-26 14:33:41 +00:00
sg3510
2c961cc43f waive add 2015-02-26 14:24:44 +00:00
sg3510
8b200c39f7 adding wavio support 2015-02-26 14:20:52 +00:00
Will Drevo
dad98961f4 Offset cast to int, return is valid JSON. Fixes #67 2015-01-14 20:32:49 -05:00
Will Drevo
801b692f74 Note about voice recognition 2014-12-15 21:38:51 -05:00
Will Drevo
4bd5eb87fc README.md updated 2014-12-15 21:36:25 -05:00