欢迎光临散文网 会员登陆 & 注册

报错:Invoked with: 0.5

2023-01-02 23:02 作者:如果我是泡橘子  | 我要投稿

在调用 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 就能正常运行,改为:

即可

报错:Invoked with: 0.5的评论 (共 条)

分享到微博请遵守国家法律