问题描述:NotImplementedError: The confidence keyword argument is only available if OpenCV is installed.
问题原因: OpenCV 和 Numpy 版本不合适
解决方式:重装 4.10.0 版本 OpenCV 和 1.23.0 版本Numpy
具体操作(示例):
在虚拟环境中输入以下代码
pip installer opencv-python==4.10.0.84
pip installer numpy==1.23.0