module 'cv2.cv2' has no attribute 'BoxPoints' code example Example: module 'cv2.cv2' has no attribute 'imWrite' pip install opencv-contrib-python