mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
为服务端添加视觉识别的能力
客户端只需要发送的消息类型:
vl_message = {
"type": "VL",
"msg": base64(你的图片)
"version": 1,
"transport": "websocket",
"audio_params": {
"format": "opus",
"sample_rate": 16000,
"channels": 1,
"frame_duration": 60
}
21 lines
No EOL
406 B
Text
Executable file
21 lines
No EOL
406 B
Text
Executable file
#pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
|
|
pyyml==0.0.2
|
|
torch==2.2.2
|
|
silero_vad==5.1.2
|
|
websockets==14.2
|
|
opuslib_next==1.1.2
|
|
numpy==1.26.4
|
|
pydub==0.25.1
|
|
funasr==1.2.3
|
|
torchaudio==2.2.2
|
|
openai==1.61.0
|
|
google-generativeai==0.8.4
|
|
edge_tts==7.0.0
|
|
httpx==0.27.2
|
|
aiohttp==3.9.3
|
|
aiohttp_cors==0.7.0
|
|
ormsgpack==1.7.0
|
|
ruamel.yaml==0.18.10
|
|
loguru==0.7.3
|
|
requests==2.32.3
|
|
cozepy==0.12.0 |