File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Chapter 2 Pose Estimation Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1212
1313lm.x 和 lm.y 是关键点的归一化坐标,范围在 0 到 1 之间。通过乘以图像的宽度和高度,可以将它们转换为图像中的像素坐标
1414
15- Hands 对象的参数:
15+ mpHands.Hands 对象的参数:
16+
1617``` python
1718static_image_mode: 是否将每帧作为静态图像处理
1819max_num_hands: 最大检测手数
Original file line number Diff line number Diff line change 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打开这个整体的文件夹),以及视频路径请使用** 绝对路径** ,否则,将可能出现一些莫名其妙的报错
You can’t perform that action at this time.
0 commit comments