小智AI客户端使用测试(Python)
1. 环境准备
# 创建虚拟环境
conda create -n xzclient python=3.12
conda activate xzclient
2. 依赖安装
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
3. 源码调试启动
源码地址【https://github.com/huangjunsen0406/py-xiaozhi】,或者百度网盘【https://pan.baidu.com/s/1RK5GxFq4ExFk8BCKjrVUNQ?pwd=zhen】
# Windows 的 WMI(Windows Management Instrumentation)接口 ,常用于获取系统信息、管理硬件
pip install wmi
# 里面有一些图像相关的功能
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
# 交互界面使用qt开发
pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple
# 启动
python main.py
4. 运行测试效果