Skip to content

Commit c45c77a

Browse files
committed
update
1 parent 0b7b774 commit c45c77a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Chapter 1 Hand Tracking/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
lm.x 和 lm.y 是关键点的归一化坐标,范围在 0 到 1 之间。通过乘以图像的宽度和高度,可以将它们转换为图像中的像素坐标
1414

15-
Hands 对象的参数:
15+
mpHands.Hands 对象的参数:
16+
1617
```python
1718
static_image_mode: 是否将每帧作为静态图像处理
1819
max_num_hands: 最大检测手数

Chapter 2 Pose Estimation/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
`results = pose.process(imgRGB)` 处理图像,检测姿势
88

9+
mpPose.Pose() 对象的参数
10+
```python
11+
static_image_mode=self.static_image_mode, # 静态图像模式设置
12+
model_complexity=self.model_complexity, # 模型复杂度设置
13+
enable_segmentation=self.enable_segmentation, # 分割功能设置
14+
min_detection_confidence=self.min_detection_confidence, # 检测置信度阈值
15+
min_tracking_confidence=self.min_tracking_confidence # 跟踪置信度阈值
16+
```
17+
918
# 注意事项
1019

1120
用vscode执行代码时,请让终端在`Advance Computer Vision with Python`文件夹下(即vs打开这个整体的文件夹),以及视频路径请使用**绝对路径**,否则,将可能出现一些莫名其妙的报错

0 commit comments

Comments
 (0)