收藏
回答

为什么引用npm中@mediapipe/pose 包时实例化接口报错?

可以看到开发者工具跳出Pose类接口,但是在运行时出错

VM50 WAService.js:2 TypeError: p.Pose is not a constructor

    at Vo.onLoad (index.js? [sm]:28)

    at Vo.<anonymous> (VM50 WAService.js:2)

    at Vo.a.__callPageLifeTime__ (VM50 WAService.js:2)

    at un (VM50 WAService.js:2)

    at VM50 WAService.js:2

    at gn (VM50 WAService.js:2)

    at r.<anonymous> (VM50 WAService.js:2)

    at s.<anonymous> (VM50 WAService.js:2)

    at s.emit (VM50 WAService.js:2)

    at Object.emit (VM50 WAService.js:2)(env: Windows,mp,1.05.2204180; lib: 2.19.4)

是个construtor啊

最后一次编辑于  2022-05-02
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容