解决办法

1、在import处删除’show_result’。

在这里插入图片描述
2、在使用’show_result’处改为’model.show_result()’。

model.show_result(img, result, model.CLASSES, score_thr, wait_time=1)
3、问题解决!程序可正常运行。

Logo

加入社区!打开量化的大门,首批课程上线啦!

更多推荐