checkhandpi/README.md

42 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 实时手部检测Web服务系统----下位机实现
一个基于MediaPipe的实时手部检测系统支持WebSocket通信、实时视频流处理和机械臂控制。
## 快速开始
### 目录介绍
+ src/:下位机源码
+ + arm.py 机械臂控制脚本
+ + arm3d_drag_demo.py 机械臂3D拖拽控制脚本
+ + robot_client.py 机械臂客户端脚本
+ + test_motors.py 电机测试脚本
+ + ZDT_Servo.py ZDT步进电机驱动脚本
+ start_robot_client.sh启动机械臂客户端脚本
+ pi_video_client.py树莓派视频流处理脚本
**注意:**启动客户端和视频传输之前需要先启动服务端,请参考[服务端部署文档](https://github.com/ricklentz/checkhand/blob/main/README_server.md)
连接配置以参数传入的方式启动客户端,可以在启动脚本中修改参数
```sh
SERVER="http://192.168.114.26:5000"
MOCK=""
```
### 方式一:使用启动脚本(推荐)
#### 树莓派
```bash
# 启动机械臂客户端(新终端窗口)
./start_robot_client.sh
```