AttributeError: module 'cv2.cv2' has no attribute 'face' code example
Example 1: AttributeError: module 'cv2.cv2' has no attribute 'face'
pip install --force-reinstall opencv-contrib-python
#if you use anaconda execute this command after the first
conda activate
Example 2: module 'cv2.cv2' has no attribute 'imWrite'
pip install opencv-contrib-python