Skip to content

Commit 9b917e9

Browse files
Update README.md
1 parent 3f4be0d commit 9b917e9

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

audio_detect/README.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
:exclamation::exclamation: **This repo will no longer be maintained, please visit https://github.com/milvus-io/bootcamp** :exclamation: :exclamation:
2-
3-
# Audio search system with Milvus
4-
5-
This project uses [PANNs](https://github.com/qiuqiangkong/audioset_tagging_cnn)(Large-Scale Pretrained Audio Neural Networks) for Audio Pattern Recognition to perform audio tagging and sound event detection, finally obtaining audio embeddings. Then this project uses [Milvus](https://milvus.io/docs/v0.11.0/overview.md) to search for similar audio clips.
6-
7-
## Local Deployment
8-
91
### Requirements
102

113
- [Milvus 0.10.5](https://milvus.io/docs/v0.10.5/milvus_docker-cpu.md) (please note the Milvus version)
@@ -20,47 +12,9 @@ This project uses [PANNs](https://github.com/qiuqiangkong/audioset_tagging_cnn)(
2012
$ cd bootcamp/solutions/audio_search/webserver/
2113
$ pip install -r audio_requirements.txt
2214
```
23-
24-
2. **Modify configuration parameters**
25-
26-
Before running the script, please modify the parameters in **webserver/audio/common/config.py**:
27-
28-
| Parameter | Description | Default setting |
29-
| ------------ | ------------------------- | --------------- |
30-
| MILVUS_HOST | milvus service ip address | 127.0.0.1 |
31-
| MILVUS_PORT | milvus service port | 19530 |
32-
| MYSQL_HOST | mysql service ip | 127.0.0.1 |
33-
| MYSQL_PORT | mysql service port | 3306 |
34-
| MYSQL_USER | mysql user name | root |
35-
| MYSQL_PWD | mysql password | 123456 |
36-
| MYSQL_DB | mysql datebase name | mysql |
37-
| MILVUS_TABLE | default table name | milvus_audio |
38-
39-
3. **Star server**
15+
2. **Star server**
4016

4117
```bash
4218
$ cd webserver
4319
$ python main.py
4420
```
45-
46-
## System Usage
47-
48-
Type `127.0.0.1:8002/docs` in your browser to see all the APIs.
49-
50-
![](./pic/all_API.png)
51-
52-
- Insert data.
53-
54-
Download the sample [game_sound.zip](https://github.com/shiyu22/bootcamp/blob/0.11.0/solutions/audio_search/data/game_sound.zip?raw=true) and upload it into the system.
55-
56-
> The sound data in the zip archive must be in wav format.
57-
58-
![](./pic/insert.png)
59-
60-
- Search for similar audio clips.
61-
62-
You can upload [test.wav](https://github.com/shiyu22/bootcamp/blob/0.11.0/solutions/audio_search/data/test.wav) to search for the most similar sound clips.
63-
64-
![](./pic/search.png)
65-
66-
Please refer to https://zilliz.com/demos/ to take a try in the front-end interface.

0 commit comments

Comments
 (0)