记录3
在def __init__()
中的代码处:
def __init__(self, mode=False, maxHands=2, detectionCon=0.5,trackCon=0.5):
为Hands()中的第三个参数添加模型复杂度
def __init__(self, mode=False, maxHands=2, detectionCon=0.5, modelComplexity=1, trackCon=0.5):
记录3
在def __init__()
中的代码处:
def __init__(self, mode=False, maxHands=2, detectionCon=0.5,trackCon=0.5):
为Hands()中的第三个参数添加模型复杂度
def __init__(self, mode=False, maxHands=2, detectionCon=0.5, modelComplexity=1, trackCon=0.5):