使用mediapipe api时:FileNotFoundError:路径不存在

问题描述 投票:0回答:0

执行程序时,我不断在媒体管道中收到此错误。 这是错误

Traceback (most recent call last):
  File "air.py", line 4, in <module>
  File "mediapipe\python\solutions\hands.py", line 114, in __init__
  File "mediapipe\python\solution_base.py", line 264, in __init__
FileNotFoundError: The path does not exist.
[17952] Failed to execute script 'air' due to unhandled exception!

tbis 是air.py 文件

import mediapipe
import cv2


mp_hand = mediapipe.solutions.hands.Hands(
    static_image_mode=False,
    max_num_hands=1,
    min_detection_confidence=0.8,
    min_tracking_confidence=0.8
)

...

所以请🤲出了什么问题

python file-not-found mediapipe
© www.soinside.com 2019 - 2024. All rights reserved.