Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,23 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# π§ AI Song Identifier (Dejavu)
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
##
|
| 6 |
-
- Audio is converted into fingerprints
|
| 7 |
-
- Matched against a fingerprint database
|
| 8 |
-
- Returns best match
|
| 9 |
|
| 10 |
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
|
| 14 |
-
|
| 15 |
-
- Gradio
|
| 16 |
-
- Dejavu (audio fingerprinting)
|
| 17 |
-
- SQLite database
|
| 18 |
|
| 19 |
## π Database
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## π Updates
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: AI Song Identifier (Dejavu)
|
| 3 |
+
emoji: π§
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.36.1"
|
| 8 |
+
python_version: "3.10"
|
| 9 |
+
app_file: app.py
|
| 10 |
+
pinned: false
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
# π§ AI Song Identifier (Dejavu)
|
| 14 |
|
| 15 |
+
Identify songs using audio fingerprinting β similar to Shazam.
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
## π How it Works
|
| 20 |
+
|
| 21 |
+
1. Upload or record an audio clip
|
| 22 |
+
2. The system generates an audio fingerprint
|
| 23 |
+
3. Matches it against a fingerprint database
|
| 24 |
+
4. Returns the best match with confidence
|
| 25 |
+
|
| 26 |
+
---
|
| 27 |
|
| 28 |
+
## π§ Tech Stack
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
- Gradio (UI)
|
| 31 |
+
- Dejavu (Audio Fingerprinting)
|
| 32 |
+
- SQLite (Fingerprint Database)
|
| 33 |
|
| 34 |
+
---
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
## π Database
|
| 37 |
+
|
| 38 |
+
- This app uses `fingerprints.db`
|
| 39 |
+
- Only fingerprints are stored (no audio files)
|
| 40 |
+
- Database is updated automatically via GitHub Actions
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## β οΈ Limitations
|
| 45 |
+
|
| 46 |
+
- Works only for songs present in the database
|
| 47 |
+
- Accuracy depends on audio quality
|
| 48 |
+
- Background noise may affect results
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
|
| 52 |
## π Updates
|
| 53 |
+
|
| 54 |
+
- Songs are automatically:
|
| 55 |
+
- scraped (externally)
|
| 56 |
+
- fingerprinted
|
| 57 |
+
- pushed to this Space
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
## π Future Improvements
|
| 62 |
+
|
| 63 |
+
- Neural audio fingerprinting (FAISS)
|
| 64 |
+
- Faster search & scaling
|
| 65 |
+
- Better noise robustness
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## π‘ Note
|
| 70 |
+
|
| 71 |
+
This project is for educational and experimental purposes.
|
| 72 |
+
No copyrighted audio is stored in this repository.
|