错误提示:NotImplementedError: The confidence keyword argument is only available if OpenCV is installed
翻译:未实现错误:只有在安装了OpenCV的情况下,置信度关键字参数才可用
解决办法:安装opencv-python库
1.pip install opencv-python
2.pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ opencv-python,提示:最好用国内的影像地址安装,不然下载的速度很慢。国内知名的镜像地址有如下:(笔者常用的)
清华:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/