speechRecognition_api
语音识别接口
前期准备
- 安装环境
ps -ef | grep 端口号 | awk '{print $2}' | xargs kill -9
cd /Users/ccs/Desktop/myRepo/speechRecognition_api/Django_jianlong/
pip install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com
- 运行
python manage.py runserver 0.0.0.0:27705
or
source ./run.sh
可能出现的问题
远程服务器运行
tmux a -t 162
视频到音频(降噪处理)接口
- 运行后台
cd ./fastApi/
uvicorn main:app --port 7000 --reload
- 接口
http://127.0.0.1:7000/video2audio/
方法:post
字段:video_path 类型:文件