Skip to content

mohamad-hasan-sohan-ajini/vad-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VAD service based on py-webrtcvad

Build the docker: docker build -t vad:v1.0 .

Run the docker: ./run.sh

Sample client:

  1. python client: python client.py path/to/audio_video/file
  2. curl client: curl -X POST "http://192.168.1.101:8009/uploadfile" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "file=@file_path"

Output format:

[
    {
        "start": 0.0,
        "end": 10.0,
        "duration": 10.0,
        "aggressiveness": 0,
        "data": "base64 encoded of raw pcm data"
    },
    ...
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published