__init__() got an unexpected keyword argument 'upper_body_only'


https://github.com/ai-coodinator/mediapipe-python/issues/1

Because you use Pose in your example, remove the line corresponding to the parameter upper_body_only

pose = mp_pose.Pose(
        upper_body_only=upper_body_only,
        min_detection_confidence=min_detection_confidence,
        min_tracking_confidence=min_tracking_confidence,
    )

相关