報錯:Invoked with: 0.5
在調用 mediapipe 做手勢追蹤的時候,在封裝的檢測類中定義__init__函數進行屬性初始化時
運行以下代碼:
報錯:
TypeError: create_int(): incompatible function arguments. The following argument types are supported:
? ? 1. (arg0: int) -> mediapipe.python._framework_bindings.packet.Packet
Invoked with: 0.5
需要添加一個參數 False 就能正常運行,改為:
即可
標簽: